﻿/******************************************************
  Tables  Begin
******************************************************/
----------------------------------------------------
-- dbo.MeteoMediaCode
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MeteoMediaCode]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[MeteoMediaCode]
GO
CREATE TABLE [dbo].[MeteoMediaCode](
	[ItemID] [int] IDENTITY(1,1) NOT NULL,
	[Country] [nvarchar](50) COLLATE French_CI_AS NOT NULL,
	[Region] [nvarchar](50) COLLATE French_CI_AS NOT NULL,
	[City] [nvarchar](50) COLLATE French_CI_AS NOT NULL,
	[Code] [nvarchar](20) COLLATE French_CI_AS NOT NULL
) ON [PRIMARY]

GO

----------------------------------------------------
-- dbo.Announcements
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Announcements]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Announcements]
GO
CREATE TABLE [dbo].[Announcements]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[CreatedByUser]                     NVARCHAR(100),
[CreatedDate]                       DATETIME,
[Title]                             NVARCHAR(150),
[URL]                               NVARCHAR(150),
[ExpireDate]                        DATETIME,
[Description]                       NVARCHAR(2000),
[Syndicate]                         BIT,
[Clicks]                            INT DEFAULT ((0)) NOT NULL,
[ViewOrder]                         INT,
CONSTRAINT [PK_Announcements] PRIMARY KEY NONCLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.Banners
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Banners]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Banners]
GO
CREATE TABLE [dbo].[Banners]
(
[BannerId]                          INT IDENTITY(1,1) NOT NULL,
[VendorId]                          INT NOT NULL,
[ImageFile]                         NVARCHAR(100) NOT NULL,
[BannerName]                        NVARCHAR(100) NOT NULL,
[URL]                               NVARCHAR(100),
[Impressions]                       INT NOT NULL,
[CPM]                               FLOAT NOT NULL,
[Views]                             INT DEFAULT ((0)) NOT NULL,
[ClickThroughs]                     INT DEFAULT ((0)) NOT NULL,
[StartDate]                         DATETIME,
[EndDate]                           DATETIME,
[CreatedByUser]                     NVARCHAR(100) NOT NULL,
[CreatedDate]                       DATETIME NOT NULL,
[BannerTypeId]                      INT,
CONSTRAINT [PK_Banner] PRIMARY KEY CLUSTERED ( [BannerId] )
);

GO

----------------------------------------------------
-- dbo.BannerTypes
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Banners_BannerType]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Banners] DROP CONSTRAINT [FK_Banners_BannerType]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[BannerTypes]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[BannerTypes]
GO
CREATE TABLE [dbo].[BannerTypes]
(
[BannerTypeId]                      INT IDENTITY(1,1) NOT NULL,
[BannerTypeName]                    NVARCHAR(50) NOT NULL,
CONSTRAINT [PK_BannerType] PRIMARY KEY CLUSTERED ( [BannerTypeId] )
);

GO

----------------------------------------------------
-- dbo.Classification
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Classification_Classification]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Classification] DROP CONSTRAINT [FK_Classification_Classification]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_VendorClassification_Classification]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[VendorClassification] DROP CONSTRAINT [FK_VendorClassification_Classification]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Classification]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Classification]
GO
CREATE TABLE [dbo].[Classification]
(
[ClassificationId]                  INT IDENTITY(1,1) NOT NULL,
[ClassificationName]                NVARCHAR(200) NOT NULL,
[ParentId]                          INT,
CONSTRAINT [PK_VendorCategory] PRIMARY KEY CLUSTERED ( [ClassificationId] )
);

GO

----------------------------------------------------
-- dbo.ClickLog
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ClickLog]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[ClickLog]
GO
CREATE TABLE [dbo].[ClickLog]
(
[ClickLogId]                        INT IDENTITY(1,1) NOT NULL,
[TableName]                         NVARCHAR(50) NOT NULL,
[ItemId]                            INT NOT NULL,
[DateTime]                          DATETIME NOT NULL,
[UserId]                            INT,
CONSTRAINT [PK_ClickLog] PRIMARY KEY CLUSTERED ( [ClickLogId] )
);

GO

----------------------------------------------------
-- dbo.CodeCountry
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CodeCountry]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[CodeCountry]
GO
CREATE TABLE [dbo].[CodeCountry]
(
[Code]                              CHAR(2) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       VARCHAR(100) NOT NULL
);

GO

----------------------------------------------------
-- dbo.CodeCurrency
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CodeCurrency]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[CodeCurrency]
GO
CREATE TABLE [dbo].[CodeCurrency]
(
[Code]                              CHAR(3) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       VARCHAR(100) NOT NULL
);

GO

----------------------------------------------------
-- dbo.CodeFrequency
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CodeFrequency]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[CodeFrequency]
GO
CREATE TABLE [dbo].[CodeFrequency]
(
[Code]                              CHAR(1) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       NVARCHAR(50) NOT NULL
);

GO

----------------------------------------------------
-- dbo.CodeProcessor
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_CodeProcessor_CodeProcessor]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[CodeProcessor] DROP CONSTRAINT [FK_CodeProcessor_CodeProcessor]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CodeProcessor]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[CodeProcessor]
GO
CREATE TABLE [dbo].[CodeProcessor]
(
[Processor]                         NVARCHAR(50) NOT NULL,
[URL]                               NVARCHAR(250) NOT NULL,
CONSTRAINT [PK_CodeProcessor] PRIMARY KEY CLUSTERED ( [Processor] )
);

GO

----------------------------------------------------
-- dbo.CodeRegion
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CodeRegion]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[CodeRegion]
GO
CREATE TABLE [dbo].[CodeRegion]
(
[Code]                              CHAR(2) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       VARCHAR(100) NOT NULL,
[Country]                           CHAR(2) NOT NULL
);

GO

----------------------------------------------------
-- dbo.CodeSiteLogReport
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CodeSiteLogReport]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[CodeSiteLogReport]
GO
CREATE TABLE [dbo].[CodeSiteLogReport]
(
[Code]                              INT NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       NVARCHAR(50) NOT NULL
);

GO

----------------------------------------------------
-- dbo.Contacts
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Contacts]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Contacts]
GO
CREATE TABLE [dbo].[Contacts]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[CreatedByUser]                     NVARCHAR(100),
[CreatedDate]                       DATETIME,
[Name]                              NVARCHAR(50),
[Role]                              NVARCHAR(100),
[Email]                             NVARCHAR(100),
[Contact1]                          NVARCHAR(250),
[Contact2]                          NVARCHAR(250),
CONSTRAINT [PK_Contacts] PRIMARY KEY NONCLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.Discussion
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Discussion]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Discussion]
GO
CREATE TABLE [dbo].[Discussion]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[Title]                             NVARCHAR(100),
[CreatedDate]                       DATETIME,
[Body]                              NVARCHAR(3000),
[DisplayOrder]                      NVARCHAR(750),
[CreatedByUser]                     NVARCHAR(100),
CONSTRAINT [PK_Discussion] PRIMARY KEY NONCLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.Documents
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Documents]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Documents]
GO
CREATE TABLE [dbo].[Documents]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[CreatedByUser]                     NVARCHAR(100),
[CreatedDate]                       DATETIME,
[URL]                               NVARCHAR(250),
[Title]                             NVARCHAR(150),
[Category]                          NVARCHAR(50),
[Syndicate]                         BIT,
[Clicks]                            INT DEFAULT ((0)) NOT NULL,
CONSTRAINT [PK_Documents] PRIMARY KEY NONCLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.dtproperties
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[dtproperties]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[dtproperties]
GO
CREATE TABLE [dbo].[dtproperties]
(
[id]                                INT IDENTITY(1,1) NOT NULL,
[objectid]                          INT,
[property]                          VARCHAR(64) NOT NULL,
[value]                             VARCHAR(255),
[uvalue]                            NVARCHAR(255),
[lvalue]                            IMAGE,
[version]                           INT DEFAULT ((0)) NOT NULL,
CONSTRAINT [pk_dtproperties] PRIMARY KEY CLUSTERED ( [id],[property] )
);

GO

----------------------------------------------------
-- dbo.FAQs
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FAQs]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[FAQs]
GO
CREATE TABLE [dbo].[FAQs]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[CreatedByUser]                     NVARCHAR(100),
[CreatedDate]                       DATETIME,
[Question]                          TEXT,
[Answer]                            TEXT
);

GO

----------------------------------------------------
-- dbo.Files
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Files]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Files]
GO
CREATE TABLE [dbo].[Files]
(
[FileId]                            INT IDENTITY(1,1) NOT NULL,
[PortalId]                          INT,
[FileName]                          NVARCHAR(100) NOT NULL,
[Extension]                         NVARCHAR(100) NOT NULL,
[Size]                              INT NOT NULL,
[Width]                             INT,
[Height]                            INT,
[ContentType]                       NVARCHAR(200) NOT NULL,
CONSTRAINT [PK_File] PRIMARY KEY CLUSTERED ( [FileId] )
);

GO

----------------------------------------------------
-- dbo.HostSettings
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[HostSettings]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[HostSettings]
GO
CREATE TABLE [dbo].[HostSettings]
(
[SettingName]                       NVARCHAR(50) NOT NULL,
[SettingValue]                      NVARCHAR(256) NOT NULL
);

GO

----------------------------------------------------
-- dbo.HtmlText
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[HtmlText]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[HtmlText]
GO
CREATE TABLE [dbo].[HtmlText]
(
[ModuleID]                          INT NOT NULL,
[DesktopHtml]                       NTEXT NOT NULL,
[AlternateSummary]                  NTEXT NOT NULL,
[AlternateDetails]                  NTEXT NOT NULL,
CONSTRAINT [PK_HtmlText] PRIMARY KEY NONCLUSTERED ( [ModuleID] )
);

GO

----------------------------------------------------
-- dbo.language
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_CodeCountry_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[CodeCountry] DROP CONSTRAINT [FK_CodeCountry_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_CodeCurrency_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[CodeCurrency] DROP CONSTRAINT [FK_CodeCurrency_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_CodeFrequency_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[CodeFrequency] DROP CONSTRAINT [FK_CodeFrequency_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_CodeRegion_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[CodeRegion] DROP CONSTRAINT [FK_CodeRegion_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_CodeSiteLogReport_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[CodeSiteLogReport] DROP CONSTRAINT [FK_CodeSiteLogReport_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_languageSettings_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[languageSettings] DROP CONSTRAINT [FK_languageSettings_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_longlanguageSettings_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[longlanguageSettings] DROP CONSTRAINT [FK_longlanguageSettings_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_ModuleDefinitionsNames_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[ModuleDefinitionsNames] DROP CONSTRAINT [FK_ModuleDefinitionsNames_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_RolesName_Language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[RolesName] DROP CONSTRAINT [FK_RolesName_Language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TimeZone_language]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TimeZone] DROP CONSTRAINT [FK_TimeZone_language]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[language]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[language]
GO
CREATE TABLE [dbo].[language]
(
[LanguageID]                        INT IDENTITY(1,1) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       NVARCHAR(50) NOT NULL,
[CultureCode]                       NVARCHAR(5) NOT NULL,
[Encoding]                          NVARCHAR(20) NOT NULL,
[HomePage]                          NVARCHAR(50) DEFAULT (N'Accueil') NOT NULL,
[FriendlyHomePage]                  NVARCHAR(50) DEFAULT (N'accueil') NOT NULL,
[AdminRole]                         NVARCHAR(50) DEFAULT (N'Administrateur') NOT NULL,
[AdminRoleDesc]                     NVARCHAR(1000),
[UserRole]                          NVARCHAR(50) DEFAULT (N'Membres') NOT NULL,
[UserRoleDesc]                      NVARCHAR(1000),
CONSTRAINT [PK_language] PRIMARY KEY CLUSTERED ( [Language] )
);

GO

----------------------------------------------------
-- dbo.languageSettings
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[languageSettings]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[languageSettings]
GO
CREATE TABLE [dbo].[languageSettings]
(
[language]                          NVARCHAR(5) NOT NULL,
[SettingName]                       NVARCHAR(50) NOT NULL,
[SettingValue]                      NVARCHAR(256) NOT NULL,
[Context]                           NVARCHAR(50) DEFAULT (N'New') NOT NULL,
[New]                               BIT DEFAULT ((0)) NOT NULL
);

GO

----------------------------------------------------
-- dbo.Links
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Links]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Links]
GO
CREATE TABLE [dbo].[Links]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[CreatedByUser]                     NVARCHAR(100),
[CreatedDate]                       DATETIME,
[Title]                             NVARCHAR(100),
[Url]                               NVARCHAR(250),
[AlternateUrl]                      NVARCHAR(250),
[ViewOrder]                         INT,
[Description]                       NVARCHAR(2000),
[NewWindow]                         BIT DEFAULT ((0)) NOT NULL,
[Clicks]                            INT DEFAULT ((0)) NOT NULL,
CONSTRAINT [PK_Links] PRIMARY KEY NONCLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.loginsecurity
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[loginsecurity]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[loginsecurity]
GO
CREATE TABLE [dbo].[loginsecurity]
(
[UserId]                            INT NOT NULL,
[code]                              NVARCHAR(100) NOT NULL,
[NextLogin]                         DATETIME DEFAULT (getdate()) NOT NULL,
[Try]                               INT,
CONSTRAINT [PK_loginsecurity] PRIMARY KEY CLUSTERED ( [UserId] )
);

GO

----------------------------------------------------
-- dbo.longlanguageSettings
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[longlanguageSettings]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[longlanguageSettings]
GO
CREATE TABLE [dbo].[longlanguageSettings]
(
[language]                          NVARCHAR(5) NOT NULL,
[SettingName]                       NVARCHAR(50) NOT NULL,
[SettingValue]                      NTEXT NOT NULL,
[PortalId]                          INT
);

GO

----------------------------------------------------
-- dbo.ModuleDefinitions
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_ModuleDefinitionsNames_ModuleDefinitions]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[ModuleDefinitionsNames] DROP CONSTRAINT [FK_ModuleDefinitionsNames_ModuleDefinitions]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Modules_ModuleDefinitions]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Modules] DROP CONSTRAINT [FK_Modules_ModuleDefinitions]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PortalModuleDefinitions_ModuleDefinitions]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[PortalModuleDefinitions] DROP CONSTRAINT [FK_PortalModuleDefinitions_ModuleDefinitions]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ModuleDefinitions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[ModuleDefinitions]
GO
CREATE TABLE [dbo].[ModuleDefinitions]
(
[ModuleDefID]                       INT IDENTITY(1,1) NOT NULL,
[FriendlyName]                      NVARCHAR(128) NOT NULL,
[DesktopSrc]                        NVARCHAR(256),
[HelpSrc]                           NVARCHAR(256),
[IsAdmin]                           BIT DEFAULT ((0)) NOT NULL,
[IsHost]                            BIT DEFAULT ((0)) NOT NULL,
[AdminOrder]                        INT,
[EditSrc]                           NVARCHAR(256),
[Secure]                            BIT DEFAULT ((1)) NOT NULL,
[Description]                       NVARCHAR(2000),
[AdminTabIcon]                      NVARCHAR(100),
[EditModuleIcon]                    NVARCHAR(100),
[IsPremium]                         BIT DEFAULT ((0)) NOT NULL,
CONSTRAINT [PK_ModuleDefinitions] PRIMARY KEY NONCLUSTERED ( [ModuleDefID] )
);

GO

----------------------------------------------------
-- dbo.ModuleDefinitionsNames
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ModuleDefinitionsNames]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[ModuleDefinitionsNames]
GO
CREATE TABLE [dbo].[ModuleDefinitionsNames]
(
[ModuleDefID]                       INT NOT NULL,
[FriendlyName]                      NVARCHAR(128) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       NVARCHAR(2000)
);

GO

----------------------------------------------------
-- dbo.ModuleEvents
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ModuleEvents]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[ModuleEvents]
GO
CREATE TABLE [dbo].[ModuleEvents]
(
[ItemID]                            INT IDENTITY(0,1) NOT NULL,
[ModuleID]                          INT NOT NULL,
[Description]                       NVARCHAR(2000) NOT NULL,
[DateTime]                          DATETIME NOT NULL,
[Title]                             NVARCHAR(100) NOT NULL,
[ExpireDate]                        DATETIME,
[CreatedByUser]                     NVARCHAR(200) NOT NULL,
[CreatedDate]                       DATETIME NOT NULL,
[Every]                             INT,
[Period]                            CHAR(1),
[IconFile]                          NVARCHAR(256),
[AltText]                           NVARCHAR(50),
CONSTRAINT [PK_Events] PRIMARY KEY NONCLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.Modules
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Announcements_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Announcements] DROP CONSTRAINT [FK_Announcements_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Contacts_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Contacts] DROP CONSTRAINT [FK_Contacts_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Discussion_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Discussion] DROP CONSTRAINT [FK_Discussion_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Documents_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Documents] DROP CONSTRAINT [FK_Documents_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_FAQs_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[FAQs] DROP CONSTRAINT [FK_FAQs_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_HtmlText_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[HtmlText] DROP CONSTRAINT [FK_HtmlText_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Links_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Links] DROP CONSTRAINT [FK_Links_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Events_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[ModuleEvents] DROP CONSTRAINT [FK_Events_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_ModuleSettings_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[ModuleSettings] DROP CONSTRAINT [FK_ModuleSettings_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_ForumGroups_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_ForumGroups] DROP CONSTRAINT [FK_TTTForum_ForumGroups_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_Statistics_Site_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_Statistics_Site] DROP CONSTRAINT [FK_TTTForum_Statistics_Site_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserDefinedFields_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserDefinedFields] DROP CONSTRAINT [FK_UserDefinedFields_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserDefinedRows_Modules]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserDefinedRows] DROP CONSTRAINT [FK_UserDefinedRows_Modules]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Modules]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Modules]
GO
CREATE TABLE [dbo].[Modules]
(
[ModuleID]                          INT IDENTITY(0,1) NOT NULL,
[TabID]                             INT NOT NULL,
[ModuleDefID]                       INT NOT NULL,
[ModuleOrder]                       INT NOT NULL,
[PaneName]                          NVARCHAR(50) NOT NULL,
[ModuleTitle]                       NVARCHAR(256),
[AuthorizedEditRoles]               NVARCHAR(256),
[CacheTime]                         INT NOT NULL,
[ShowFriendly]                      BIT,
[AuthorizedViewRoles]               NVARCHAR(256),
[Alignment]                         NVARCHAR(10),
[Color]                             NVARCHAR(20),
[Border]                            NVARCHAR(1),
[IconFile]                          NVARCHAR(100),
[AllTabs]                           BIT DEFAULT ((0)) NOT NULL,
[ShowTitle]                         BIT DEFAULT ((1)) NOT NULL,
[Personalize]                       INT DEFAULT ((0)) NOT NULL,
[Container]                         NVARCHAR(4000),
[Language]                          NVARCHAR(5),
CONSTRAINT [PK_Modules] PRIMARY KEY NONCLUSTERED ( [ModuleID] )
);

GO

----------------------------------------------------
-- dbo.ModuleSettings
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ModuleSettings]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[ModuleSettings]
GO
CREATE TABLE [dbo].[ModuleSettings]
(
[ModuleID]                          INT NOT NULL,
[SettingName]                       NVARCHAR(50) NOT NULL,
[SettingValue]                      NVARCHAR(4000) NOT NULL
);

GO

----------------------------------------------------
-- dbo.PayPalIPN
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PayPalIPN]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[PayPalIPN]
GO
CREATE TABLE [dbo].[PayPalIPN]
(
[txnID]                             INT IDENTITY(1,1) NOT NULL,
[PayPalID]                          NCHAR(20) NOT NULL,
[PortalID]                          INT NOT NULL,
[UserID]                            INT NOT NULL,
[RoleID]                            INT,
[Response]                          BIT DEFAULT ((1)) NOT NULL,
[IPNTime]                           DATETIME DEFAULT (getdate()) NOT NULL,
[RawData]                           NVARCHAR(1000) NOT NULL,
[ItemName]                          NVARCHAR(256) NOT NULL,
[PortalRenew]                       BIT NOT NULL
);

GO

----------------------------------------------------
-- dbo.PortalModuleDefinitions
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PortalModuleDefinitions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[PortalModuleDefinitions]
GO
CREATE TABLE [dbo].[PortalModuleDefinitions]
(
[PortalModuleDefinitionId]          INT IDENTITY(1,1) NOT NULL,
[PortalId]                          INT NOT NULL,
[ModuleDefId]                       INT NOT NULL,
[HostFee]                           MONEY DEFAULT ((0)),
CONSTRAINT [PK_PortalModuleDefinitions] PRIMARY KEY CLUSTERED ( [PortalModuleDefinitionId] )
);

GO

----------------------------------------------------
-- dbo.Portals
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PayPalIPN_PortalID]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[PayPalIPN] DROP CONSTRAINT [FK_PayPalIPN_PortalID]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PortalModuleDefinitions_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[PortalModuleDefinitions] DROP CONSTRAINT [FK_PortalModuleDefinitions_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PortalSettings_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[PortalSettings] DROP CONSTRAINT [FK_PortalSettings_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Roles_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Roles] DROP CONSTRAINT [FK_Roles_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_SiteLog_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[SiteLog] DROP CONSTRAINT [FK_SiteLog_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Tabs_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Tabs] DROP CONSTRAINT [FK_Tabs_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserPortals_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserPortals] DROP CONSTRAINT [FK_UserPortals_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_VendorLog_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[VendorLog] DROP CONSTRAINT [FK_VendorLog_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Vendor_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Vendors] DROP CONSTRAINT [FK_Vendor_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_VendorSearch_Portals]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[VendorSearch] DROP CONSTRAINT [FK_VendorSearch_Portals]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Portals]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Portals]
GO
CREATE TABLE [dbo].[Portals]
(
[PortalID]                          INT IDENTITY(-1,1) NOT NULL,
[PortalAlias]                       NVARCHAR(200) NOT NULL,
[PortalName]                        NVARCHAR(128) NOT NULL,
[LogoFile]                          NVARCHAR(50),
[FooterText]                        NVARCHAR(100),
[ExpiryDate]                        DATETIME,
[UserRegistration]                  INT DEFAULT ((0)) NOT NULL,
[BannerAdvertising]                 INT DEFAULT ((0)) NOT NULL,
[AdministratorId]                   INT,
[Currency]                          CHAR(3),
[HostFee]                           MONEY DEFAULT ((0)) NOT NULL,
[HostSpace]                         INT DEFAULT ((0)) NOT NULL,
[AdministratorRoleId]               INT,
[RegisteredRoleId]                  INT,
[Description]                       NVARCHAR(500),
[KeyWords]                          NVARCHAR(500),
[BackgroundFile]                    NVARCHAR(50),
[GUID]                              UNIQUEIDENTIFIER DEFAULT (newid()) NOT NULL,
[PaymentProcessor]                  NVARCHAR(50),
[ProcessorUserId]                   NVARCHAR(50),
[ProcessorPassword]                 NVARCHAR(50),
[SiteLogHistory]                    INT,
[TimeZone]                          INT,
CONSTRAINT [PK_Portals] PRIMARY KEY NONCLUSTERED ( [PortalID] )
);

GO

----------------------------------------------------
-- dbo.PortalSettings
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PortalSettings]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[PortalSettings]
GO
CREATE TABLE [dbo].[PortalSettings]
(
[PortalID]                          INT NOT NULL,
[SettingName]                       NVARCHAR(50) NOT NULL,
[SettingValue]                      NVARCHAR(4000) NOT NULL
);

GO

----------------------------------------------------
-- dbo.PrivateMessages
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PrivateMessages]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[PrivateMessages]
GO
CREATE TABLE [dbo].[PrivateMessages]
(
[MessageId]                         INT IDENTITY(1,1) NOT NULL,
[SenderId]                          INT NOT NULL,
[ReceiverId]                        INT NOT NULL,
[Subject]                           NVARCHAR(255),
[Message]                           TEXT NOT NULL,
[MessageRead]                       BIT DEFAULT ((0)) NOT NULL,
[OriginalMessageId]                 INT,
[DateCreated]                       DATETIME DEFAULT (getdate()),
CONSTRAINT [PK_PrivateMessages] PRIMARY KEY CLUSTERED ( [MessageId] )
);

GO

----------------------------------------------------
-- dbo.Referrer
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Referrer]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Referrer]
GO
CREATE TABLE [dbo].[Referrer]
(
[ReferrerId]                        INT IDENTITY(1,1) NOT NULL,
[Referrer]                          NVARCHAR(500) NOT NULL,
[Description]                       NVARCHAR(500) NOT NULL,
[CreatedDate]                       DATETIME NOT NULL,
[LastModifiedDate]                  DATETIME NOT NULL,
CONSTRAINT [PK_Referrer] PRIMARY KEY CLUSTERED ( [ReferrerId] )
);

GO

----------------------------------------------------
-- dbo.Roles
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_RolesName_Roles]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[RolesName] DROP CONSTRAINT [FK_RolesName_Roles]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserRoles_Roles]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserRoles] DROP CONSTRAINT [FK_UserRoles_Roles]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Roles]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Roles]
GO
CREATE TABLE [dbo].[Roles]
(
[RoleID]                            INT IDENTITY(0,1) NOT NULL,
[PortalID]                          INT NOT NULL,
[RoleName]                          NVARCHAR(50) NOT NULL,
[Description]                       NVARCHAR(1000),
[ServiceFee]                        MONEY DEFAULT ((0)),
[BillingFrequency]                  CHAR(1),
[TrialPeriod]                       INT,
[TrialFrequency]                    CHAR(1),
[BillingPeriod]                     INT,
[TrialFee]                          MONEY,
[IsPublic]                          BIT DEFAULT ((0)) NOT NULL,
[AutoAssignment]                    BIT DEFAULT ((0)) NOT NULL,
CONSTRAINT [PK_Roles] PRIMARY KEY NONCLUSTERED ( [RoleID] )
);

GO

----------------------------------------------------
-- dbo.RolesName
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[RolesName]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[RolesName]
GO
CREATE TABLE [dbo].[RolesName]
(
[RoleID]                            INT NOT NULL,
[RoleName]                          NVARCHAR(50) NOT NULL,
[Description]                       NVARCHAR(1000),
[Language]                          NVARCHAR(5) NOT NULL
);

GO

----------------------------------------------------
-- dbo.Search
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Search]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Search]
GO
CREATE TABLE [dbo].[Search]
(
[SearchId]                          INT IDENTITY(1,1) NOT NULL,
[ModuleId]                          INT NOT NULL,
[TableName]                         NVARCHAR(50) NOT NULL,
[TitleField]                        NVARCHAR(50),
[DescriptionField]                  NVARCHAR(50),
[CreatedDateField]                  NVARCHAR(50),
[CreatedByUserField]                NVARCHAR(50),
CONSTRAINT [PK_Search] PRIMARY KEY CLUSTERED ( [SearchId] )
);

GO

----------------------------------------------------
-- dbo.SessionTracker
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[SessionTracker]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[SessionTracker]
GO
CREATE TABLE [dbo].[SessionTracker]
(
[ItemId]                            INT IDENTITY(1,1) NOT NULL,
[PortalId]                          INT NOT NULL,
[SessionId]                         NVARCHAR(255) NOT NULL,
[UserId]                            INT,
[Location]                          NVARCHAR(255),
[CreationDate]                      DATETIME,
[TabId]                             INT,
[LastActiveDate]                    DATETIME,
[IP]                                NVARCHAR(50),
[Browser]                           NVARCHAR(255),
CONSTRAINT [PK_SessionTracker] PRIMARY KEY CLUSTERED ( [ItemId] )
);

GO

----------------------------------------------------
-- dbo.SiteLog
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[SiteLog]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[SiteLog]
GO
CREATE TABLE [dbo].[SiteLog]
(
[SiteLogId]                         INT IDENTITY(1,1) NOT NULL,
[DateTime]                          SMALLDATETIME NOT NULL,
[PortalId]                          INT NOT NULL,
[UserId]                            INT,
[Referrer]                          NVARCHAR(255),
[Url]                               NVARCHAR(255),
[UserAgent]                         NVARCHAR(255),
[UserHostAddress]                   NVARCHAR(255),
[UserHostName]                      NVARCHAR(255),
[TabId]                             INT,
[AffiliateId]                       INT,
CONSTRAINT [PK_SiteLog] PRIMARY KEY CLUSTERED ( [SiteLogId] )
);

GO

----------------------------------------------------
-- dbo.Tabs
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Modules_Tabs]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Modules] DROP CONSTRAINT [FK_Modules_Tabs]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Tabs_Tabs]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Tabs] DROP CONSTRAINT [FK_Tabs_Tabs]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TabsName_TabID]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TabsName] DROP CONSTRAINT [FK_TabsName_TabID]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Tabs]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Tabs]
GO
CREATE TABLE [dbo].[Tabs]
(
[TabID]                             INT IDENTITY(0,1) NOT NULL,
[TabOrder]                          INT DEFAULT ((0)) NOT NULL,
[PortalID]                          INT,
[TabName]                           NVARCHAR(50) NOT NULL,
[FriendlyTabName]                   NVARCHAR(50) NOT NULL,
[AuthorizedRoles]                   NVARCHAR(256),
[ShowFriendly]                      BIT NOT NULL,
[LeftPaneWidth]                     NVARCHAR(5) NOT NULL,
[RightPaneWidth]                    NVARCHAR(5) NOT NULL,
[IsVisible]                         BIT DEFAULT ((1)) NOT NULL,
[ParentId]                          INT,
[Level]                             INT DEFAULT ((0)) NOT NULL,
[IconFile]                          NVARCHAR(100),
[AdministratorRoles]                NVARCHAR(256),
[DisableLink]                       BIT DEFAULT ((0)) NOT NULL,
[css]                               NVARCHAR(256),
[skin]                              NVARCHAR(256),
CONSTRAINT [PK_Tabs] PRIMARY KEY NONCLUSTERED ( [TabID] )
);

GO

----------------------------------------------------
-- dbo.TabsName
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TabsName]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TabsName]
GO
CREATE TABLE [dbo].[TabsName]
(
[PortalID]                          INT NOT NULL,
[TabID]                             INT NOT NULL,
[TabName]                           NVARCHAR(50) NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL
);

GO

----------------------------------------------------
-- dbo.TimeZone
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TimeZone]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TimeZone]
GO
CREATE TABLE [dbo].[TimeZone]
(
[Zone]                              INT NOT NULL,
[Language]                          NVARCHAR(5) NOT NULL,
[Description]                       VARCHAR(100) NOT NULL
);

GO

----------------------------------------------------
-- dbo.TTTForum_ForumGroups
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_Forums_TTTForum_ForumGroups]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_Forums] DROP CONSTRAINT [FK_TTTForum_Forums_TTTForum_ForumGroups]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_ForumGroups]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_ForumGroups]
GO
CREATE TABLE [dbo].[TTTForum_ForumGroups]
(
[ForumGroupId]                      INT IDENTITY(1,1) NOT NULL,
[Name]                              NVARCHAR(256) NOT NULL,
[PortalID]                          INT NOT NULL,
[ModuleID]                          INT,
[SortOrder]                         INT DEFAULT ((0)) NOT NULL,
[CreatedDate]                       DATETIME DEFAULT (getdate()),
[CreatedByUser]                     INT,
[ForumCount]                        INT DEFAULT ((0)),
CONSTRAINT [PK_TTTForumGroupId] PRIMARY KEY CLUSTERED ( [ForumGroupId] )
);

GO

----------------------------------------------------
-- dbo.TTTForum_Forums
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_Forums_TTTForum_Forums]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_Forums] DROP CONSTRAINT [FK_TTTForum_Forums_TTTForum_Forums]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_Moderators_TTTForum_Forums]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_Moderators] DROP CONSTRAINT [FK_TTTForum_Moderators_TTTForum_Forums]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_PrivateForums_TTTForum_Forums]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_PrivateForums] DROP CONSTRAINT [FK_TTTForum_PrivateForums_TTTForum_Forums]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_Threads_TTTForum_Forums]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_Threads] DROP CONSTRAINT [FK_TTTForum_Threads_TTTForum_Forums]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_TrackedForums_TTTForum_Forums]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_TrackedForums] DROP CONSTRAINT [FK_TTTForum_TrackedForums_TTTForum_Forums]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Forums]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_Forums]
GO
CREATE TABLE [dbo].[TTTForum_Forums]
(
[ForumID]                           INT IDENTITY(1,1) NOT NULL,
[IsActive]                          BIT DEFAULT ((1)) NOT NULL,
[ParentID]                          INT DEFAULT ((0)) NOT NULL,
[ForumGroupID]                      INT NOT NULL,
[PortalID]                          INT,
[ModuleID]                          INT,
[Name]                              NVARCHAR(256) NOT NULL,
[Description]                       NVARCHAR(3000),
[CreatedDate]                       DATETIME DEFAULT (getdate()) NOT NULL,
[CreatedByUser]                     INT,
[IsModerated]                       BIT DEFAULT ((0)) NOT NULL,
[DaysToView]                        INT DEFAULT ((0)),
[SortOrder]                         INT DEFAULT ((0)),
[TotalPosts]                        INT DEFAULT ((0)),
[TotalThreads]                      INT DEFAULT ((0)),
[DisplayMask]                       BINARY(512),
[EnablePostStatistics]              BIT DEFAULT ((0)),
[EnableAutoDelete]                  BIT DEFAULT ((0)),
[AutoDeleteThreshold]               INT DEFAULT ((90)),
[MostRecentPostID]                  INT DEFAULT ((0)),
[MostRecentThreadID]                INT DEFAULT ((0)),
[MostRecentPostAuthor]              NVARCHAR(64) DEFAULT (N'None'),
[MostRecentPostAuthorID]            INT DEFAULT ((0)),
[MostRecentPostDate]                DATETIME DEFAULT (getdate()),
[PostsToModerate]                   INT DEFAULT ((0)),
[ForumType]                         INT DEFAULT ((0)),
[IsIntegrated]                      BIT DEFAULT ((0)),
[IntegratedGallery]                 INT DEFAULT ((0)),
[IntegratedAlbumName]               NVARCHAR(50) DEFAULT (N'None'),
[IsPrivate]                         BIT DEFAULT ((0)),
[AuthorizedRoles]                   NVARCHAR(255),
CONSTRAINT [PK_TTTForumId] PRIMARY KEY CLUSTERED ( [ForumID] )
);

GO

----------------------------------------------------
-- dbo.TTTForum_ModerationAction
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_ModerationAction]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_ModerationAction]
GO
CREATE TABLE [dbo].[TTTForum_ModerationAction]
(
[ModerationAction]                  INT NOT NULL,
[Description]                       NVARCHAR(256) NOT NULL,
[TotalActions]                      INT NOT NULL
);

GO

----------------------------------------------------
-- dbo.TTTForum_ModerationAudit
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_ModerationAudit]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_ModerationAudit]
GO
CREATE TABLE [dbo].[TTTForum_ModerationAudit]
(
[ModeratedOn]                       DATETIME NOT NULL,
[PostId]                            INT NOT NULL,
[ModeratedBy]                       INT,
[ModerationAction]                  NVARCHAR(50) NOT NULL,
[Notes]                             NVARCHAR(1024)
);

GO

----------------------------------------------------
-- dbo.TTTForum_Moderators
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderators]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_Moderators]
GO
CREATE TABLE [dbo].[TTTForum_Moderators]
(
[UserID]                            INT NOT NULL,
[ForumID]                           INT NOT NULL,
[CreatedDate]                       DATETIME NOT NULL,
[EmailNotification]                 BIT NOT NULL,
[PostsModerated]                    INT DEFAULT ((0)) NOT NULL
);

GO

----------------------------------------------------
-- dbo.TTTForum_Posts
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_ModerationAudit_TTTForum_Posts]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_ModerationAudit] DROP CONSTRAINT [FK_TTTForum_ModerationAudit_TTTForum_Posts]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Posts]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_Posts]
GO
CREATE TABLE [dbo].[TTTForum_Posts]
(
[PostID]                            INT IDENTITY(1,1) NOT NULL,
[ParentPostID]                      INT NOT NULL,
[UserID]                            INT NOT NULL,
[RemoteAddr]                        NVARCHAR(100) NOT NULL,
[Notify]                            BIT NOT NULL,
[Subject]                           NVARCHAR(255) NOT NULL,
[Body]                              NTEXT NOT NULL,
[PostDate]                          DATETIME NOT NULL,
[ThreadID]                          INT,
[PostLevel]                         INT DEFAULT ((0)) NOT NULL,
[TreeSortOrder]                     INT DEFAULT ((0)) NOT NULL,
[FlatSortOrder]                     INT DEFAULT ((0)) NOT NULL,
[LastModifiedDate]                  DATETIME,
[LastModifiedAuthorID]              INT,
[LastModifiedAuthor]                NVARCHAR(50),
[IsApproved]                        BIT DEFAULT ((1)),
[IsLocked]                          BIT DEFAULT ((0)),
CONSTRAINT [PK_TTTForum_Posts] PRIMARY KEY CLUSTERED ( [PostID] )
);

GO

----------------------------------------------------
-- dbo.TTTForum_PrivateForums
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateForums]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_PrivateForums]
GO
CREATE TABLE [dbo].[TTTForum_PrivateForums]
(
[ForumID]                           INT,
[RoleID]                            INT
);

GO

----------------------------------------------------
-- dbo.TTTForum_Statistics_Site
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Statistics_Site]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_Statistics_Site]
GO
CREATE TABLE [dbo].[TTTForum_Statistics_Site]
(
[DateCreated]                       DATETIME NOT NULL,
[TotalUsers]                        INT NOT NULL,
[TotalPosts]                        INT NOT NULL,
[TotalModerators]                   INT NOT NULL,
[TotalModeratedPosts]               INT NOT NULL,
[TotalAnonymousUsers]               INT NOT NULL,
[TotalTopics]                       INT NOT NULL,
[NewPostsInPast24Hours]             INT NOT NULL,
[NewThreadsInPast24Hours]           INT NOT NULL,
[NewUsersInPast24Hours]             INT NOT NULL,
[MostViewsPostId]                   INT NOT NULL,
[MostActivePostID]                  INT NOT NULL,
[MostActiveUserID]                  INT NOT NULL,
[MostReadPostID]                    INT NOT NULL,
[NewestUserID]                      INT NOT NULL,
[ModuleID]                          INT NOT NULL
);

GO

----------------------------------------------------
-- dbo.TTTForum_Threads
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_Posts_TTTForum_Threads]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_Posts] DROP CONSTRAINT [FK_TTTForum_Posts_TTTForum_Threads]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TTTForum_TrackedThreads_TTTForum_Threads]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[TTTForum_TrackedThreads] DROP CONSTRAINT [FK_TTTForum_TrackedThreads_TTTForum_Threads]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Threads]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_Threads]
GO
CREATE TABLE [dbo].[TTTForum_Threads]
(
[ThreadID]                          INT NOT NULL,
[Replies]                           INT DEFAULT ((0)) NOT NULL,
[Views]                             INT DEFAULT ((0)) NOT NULL,
[LastPostedPostID]                  INT DEFAULT ((0)),
[ForumID]                           INT DEFAULT ((0)) NOT NULL,
[IsPinned]                          BIT DEFAULT ((0)) NOT NULL,
[PinnedDate]                        DATETIME DEFAULT (getdate()) NOT NULL,
[Image]                             NVARCHAR(255),
[IsApproved]                        BIT DEFAULT ((1)),
CONSTRAINT [PK_TTTThreadID] PRIMARY KEY CLUSTERED ( [ThreadID] )
);

GO

----------------------------------------------------
-- dbo.TTTForum_TrackedForums
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackedForums]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_TrackedForums]
GO
CREATE TABLE [dbo].[TTTForum_TrackedForums]
(
[ForumID]                           INT NOT NULL,
[DNNUserID]                         INT NOT NULL,
[CreatedDate]                       DATETIME
);

GO

----------------------------------------------------
-- dbo.TTTForum_TrackedThreads
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackedThreads]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_TrackedThreads]
GO
CREATE TABLE [dbo].[TTTForum_TrackedThreads]
(
[ThreadID]                          INT NOT NULL,
[DNNUserID]                         INT NOT NULL,
[CreatedDate]                       DATETIME
);

GO

----------------------------------------------------
-- dbo.TTTForum_Users
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Users]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TTTForum_Users]
GO
CREATE TABLE [dbo].[TTTForum_Users]
(
[UserID]                            INT IDENTITY(1,1) NOT NULL,
[DNNUserID]                         INT,
[Alias]                             NVARCHAR(100),
[UseRichText]                       BIT DEFAULT ((1)),
[URL]                               NVARCHAR(128),
[Signature]                         NVARCHAR(1024),
[TimeZone]                          INT DEFAULT ((0)),
[Occupation]                        NVARCHAR(256),
[Interests]                         NVARCHAR(256),
[MSN]                               NVARCHAR(128),
[Yahoo]                             NVARCHAR(128),
[AIM]                               NVARCHAR(128),
[ICQ]                               NVARCHAR(128),
[Skin]                              NVARCHAR(256),
[UserAvatar]                        BIT DEFAULT ((0)) NOT NULL,
[Avatar]                            NVARCHAR(255),
[PostCount]                         INT DEFAULT ((0)) NOT NULL,
[LastActivity]                      DATETIME DEFAULT (((1)/(1))/(2001)),
[LastForumsView]                    DATETIME DEFAULT (((1)/(1))/(2001)),
[LastThreadView]                    DATETIME DEFAULT (((1)/(1))/(2001)),
[FlatView]                          BIT DEFAULT ((1)) NOT NULL,
[IsTrusted]                         BIT DEFAULT ((1)) NOT NULL,
[EnableThreadTracking]              BIT DEFAULT ((1)) NOT NULL,
[EnableDisplayUnreadThreadsOnly]    BIT DEFAULT ((1)) NOT NULL,
[EnableDisplayInMemberList]         BIT DEFAULT ((1)) NOT NULL,
[EnablePrivateMessages]             BIT DEFAULT ((1)) NOT NULL,
[EnableOnlineStatus]                BIT DEFAULT ((1)) NOT NULL
);

GO

----------------------------------------------------
-- dbo.UserDefinedData
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UserDefinedData]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UserDefinedData]
GO
CREATE TABLE [dbo].[UserDefinedData]
(
[UserDefinedDataId]                 INT IDENTITY(1,1) NOT NULL,
[UserDefinedFieldId]                INT NOT NULL,
[UserDefinedRowId]                  INT NOT NULL,
[FieldValue]                        NVARCHAR(2000) NOT NULL,
CONSTRAINT [PK_UserDefinedData] PRIMARY KEY CLUSTERED ( [UserDefinedDataId] )
);

GO

----------------------------------------------------
-- dbo.UserDefinedFields
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserDefinedData_UserDefinedFields]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserDefinedData] DROP CONSTRAINT [FK_UserDefinedData_UserDefinedFields]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UserDefinedFields]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UserDefinedFields]
GO
CREATE TABLE [dbo].[UserDefinedFields]
(
[UserDefinedFieldId]                INT IDENTITY(1,1) NOT NULL,
[ModuleId]                          INT NOT NULL,
[FieldTitle]                        VARCHAR(50) NOT NULL,
[Visible]                           BIT NOT NULL,
[FieldOrder]                        INT DEFAULT ((0)) NOT NULL,
[FieldType]                         VARCHAR(20) NOT NULL,
CONSTRAINT [PK_UserDefinedTable] PRIMARY KEY CLUSTERED ( [UserDefinedFieldId] )
);

GO

----------------------------------------------------
-- dbo.UserDefinedRows
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserDefinedData_UserDefinedRows]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserDefinedData] DROP CONSTRAINT [FK_UserDefinedData_UserDefinedRows]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UserDefinedRows]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UserDefinedRows]
GO
CREATE TABLE [dbo].[UserDefinedRows]
(
[UserDefinedRowId]                  INT IDENTITY(1,1) NOT NULL,
[ModuleId]                          INT NOT NULL,
CONSTRAINT [PK_UserDefinedRows] PRIMARY KEY CLUSTERED ( [UserDefinedRowId] )
);

GO

----------------------------------------------------
-- dbo.UserPortals
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UserPortals]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UserPortals]
GO
CREATE TABLE [dbo].[UserPortals]
(
[UserId]                            INT NOT NULL,
[PortalId]                          INT NOT NULL,
[Authorized]                        BIT,
[CreatedDate]                       DATETIME,
[LastLoginDate]                     DATETIME,
CONSTRAINT [PK_UserPortals] PRIMARY KEY CLUSTERED ( [UserId],[PortalId] )
);

GO

----------------------------------------------------
-- dbo.UserRoles
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UserRoles]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UserRoles]
GO
CREATE TABLE [dbo].[UserRoles]
(
[UserRoleID]                        INT IDENTITY(1,1) NOT NULL,
[UserID]                            INT NOT NULL,
[RoleID]                            INT NOT NULL,
[ExpiryDate]                        DATETIME,
[IsTrialUsed]                       BIT,
CONSTRAINT [PK_UserRoles] PRIMARY KEY CLUSTERED ( [UserRoleID] )
);

GO

----------------------------------------------------
-- dbo.Users
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_loginsecurity_Users]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[loginsecurity] DROP CONSTRAINT [FK_loginsecurity_Users]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserPortals_Users]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserPortals] DROP CONSTRAINT [FK_UserPortals_Users]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UserRoles_Users]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[UserRoles] DROP CONSTRAINT [FK_UserRoles_Users]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Users]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Users]
GO
CREATE TABLE [dbo].[Users]
(
[UserID]                            INT IDENTITY(1,1) NOT NULL,
[FirstName]                         NVARCHAR(50) NOT NULL,
[LastName]                          NVARCHAR(50) NOT NULL,
[Street]                            NVARCHAR(50),
[City]                              NVARCHAR(50),
[Region]                            NVARCHAR(50),
[PostalCode]                        NVARCHAR(50),
[Country]                           NVARCHAR(50),
[Password]                          NVARCHAR(50) NOT NULL,
[Email]                             NVARCHAR(100) NOT NULL,
[Unit]                              NVARCHAR(50),
[IsSuperUser]                       BIT DEFAULT ((0)) NOT NULL,
[Telephone]                         NVARCHAR(50),
[Username]                          NVARCHAR(100) NOT NULL,
[Country_Code]                      NVARCHAR(50),
[LastIP]                            NVARCHAR(15),
[IPfrom]                            NVARCHAR(15),
[IPto]                              NVARCHAR(15),
[Security_Code]                     NVARCHAR(50),
CONSTRAINT [PK_Users] PRIMARY KEY NONCLUSTERED ( [UserID] )
);

GO

----------------------------------------------------
-- dbo.UsersOnline_Buddies
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_Buddies]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UsersOnline_Buddies]
GO
CREATE TABLE [dbo].[UsersOnline_Buddies]
(
[ItemID]                            INT IDENTITY(1,1) NOT NULL,
[UserID]                            INT NOT NULL,
[BuddyID]                           INT NOT NULL,
CONSTRAINT [PK_UsersOnline_BuddyList] PRIMARY KEY CLUSTERED ( [ItemID] )
);

GO

----------------------------------------------------
-- dbo.UsersOnline_PrivateMessages
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_PrivateMessages]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[UsersOnline_PrivateMessages]
GO
CREATE TABLE [dbo].[UsersOnline_PrivateMessages]
(
[MessageId]                         INT IDENTITY(1,1) NOT NULL,
[SenderId]                          INT NOT NULL,
[ReceiverId]                        INT NOT NULL,
[Subject]                           NVARCHAR(255),
[Message]                           TEXT NOT NULL,
[MessageRead]                       BIT DEFAULT ((0)),
[OriginalMessageId]                 INT,
[DateCreated]                       DATETIME
);

GO

----------------------------------------------------
-- dbo.VendorClassification
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VendorClassification]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[VendorClassification]
GO
CREATE TABLE [dbo].[VendorClassification]
(
[VendorClassificationId]            INT IDENTITY(1,1) NOT NULL,
[VendorId]                          INT NOT NULL,
[ClassificationId]                  INT NOT NULL,
CONSTRAINT [PK_VendorClassification] PRIMARY KEY CLUSTERED ( [VendorClassificationId] )
);

GO

----------------------------------------------------
-- dbo.VendorFeedback
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VendorFeedback]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[VendorFeedback]
GO
CREATE TABLE [dbo].[VendorFeedback]
(
[VendorFeedbackId]                  INT IDENTITY(1,1) NOT NULL,
[VendorId]                          INT NOT NULL,
[UserId]                            INT NOT NULL,
[Date]                              DATETIME NOT NULL,
[Comment]                           NVARCHAR(4000) NOT NULL,
[Value]                             INT NOT NULL,
CONSTRAINT [PK_VendorFeedback] PRIMARY KEY CLUSTERED ( [VendorFeedbackId] )
);

GO

----------------------------------------------------
-- dbo.VendorLog
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VendorLog]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[VendorLog]
GO
CREATE TABLE [dbo].[VendorLog]
(
[VendorLogId]                       INT IDENTITY(1,1) NOT NULL,
[DateTime]                          DATETIME NOT NULL,
[PortalId]                          INT NOT NULL,
[VendorId]                          INT NOT NULL,
[BannerId]                          INT,
[Search]                            NVARCHAR(200),
CONSTRAINT [PK_VendorLog] PRIMARY KEY CLUSTERED ( [VendorLogId] )
);

GO

----------------------------------------------------
-- dbo.Vendors
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Banner_Vendor]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[Banners] DROP CONSTRAINT [FK_Banner_Vendor]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_VendorClassification_Vendors]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[VendorClassification] DROP CONSTRAINT [FK_VendorClassification_Vendors]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_VendorFeedback_Vendors]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[VendorFeedback] DROP CONSTRAINT [FK_VendorFeedback_Vendors]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Vendors]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Vendors]
GO
CREATE TABLE [dbo].[Vendors]
(
[VendorId]                          INT IDENTITY(1,1) NOT NULL,
[VendorName]                        NVARCHAR(50) NOT NULL,
[Street]                            NVARCHAR(50),
[City]                              NVARCHAR(50),
[Region]                            NVARCHAR(50),
[Country]                           NVARCHAR(50),
[PostalCode]                        NVARCHAR(50),
[Telephone]                         NVARCHAR(50),
[PortalId]                          INT,
[Fax]                               NVARCHAR(50),
[Email]                             NVARCHAR(50),
[Website]                           NVARCHAR(100),
[ClickThroughs]                     INT DEFAULT ((0)) NOT NULL,
[Views]                             INT DEFAULT ((0)) NOT NULL,
[CreatedByUser]                     NVARCHAR(100),
[CreatedDate]                       DATETIME,
[LogoFile]                          NVARCHAR(100),
[KeyWords]                          TEXT,
[Unit]                              NVARCHAR(50),
[Authorized]                        BIT DEFAULT ((1)) NOT NULL,
[FirstName]                         NVARCHAR(50),
[LastName]                          NVARCHAR(50),
CONSTRAINT [PK_Vendor] PRIMARY KEY CLUSTERED ( [VendorId] )
);

GO

----------------------------------------------------
-- dbo.VendorSearch
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VendorSearch]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[VendorSearch]
GO
CREATE TABLE [dbo].[VendorSearch]
(
[VendorSearchId]                    INT IDENTITY(1,1) NOT NULL,
[PortalId]                          INT,
[DateTime]                          DATETIME NOT NULL,
[Search]                            NVARCHAR(200) NOT NULL,
CONSTRAINT [PK_VendorSearch] PRIMARY KEY CLUSTERED ( [VendorSearchId] )
);

GO

----------------------------------------------------
-- dbo.Version
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Version]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Version]
GO
CREATE TABLE [dbo].[Version]
(
[VersionId]                         INT IDENTITY(1,1) NOT NULL,
[Major]                             INT NOT NULL,
[Minor]                             INT NOT NULL,
[Build]                             INT NOT NULL,
[CreatedDate]                       DATETIME NOT NULL,
CONSTRAINT [PK_Version] PRIMARY KEY CLUSTERED ( [VersionId] )
);

GO

----------------------------------------------------
-- dbo.ViewState
----------------------------------------------------
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ViewState]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[ViewState]
GO
CREATE TABLE [dbo].[ViewState]
(
[vsKey]                             NVARCHAR(100) NOT NULL,
[vsValue]                           NTEXT,
[TimeStamp]                         DATETIME DEFAULT (getdate()) NOT NULL,
CONSTRAINT [PK_ViewState] PRIMARY KEY CLUSTERED ( [vsKey] )
);

GO

/******************************************************
  Insert data   Begin
******************************************************/

-----------------------------------------------------------
--Insert data into dbo.Announcements
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Announcements' ) IS NOT NULL OR IDENT_SEED('dbo.Announcements') IS NOT NULL ) SET IDENTITY_INSERT dbo.Announcements ON
IF(	IDENT_INCR( 'dbo.Announcements' ) IS NOT NULL OR IDENT_SEED('dbo.Announcements') IS NOT NULL ) SET IDENTITY_INSERT dbo.Announcements OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Banners
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Banners' ) IS NOT NULL OR IDENT_SEED('dbo.Banners') IS NOT NULL ) SET IDENTITY_INSERT dbo.Banners ON
IF(	IDENT_INCR( 'dbo.Banners' ) IS NOT NULL OR IDENT_SEED('dbo.Banners') IS NOT NULL ) SET IDENTITY_INSERT dbo.Banners OFF
GO

-----------------------------------------------------------
--Insert data into dbo.BannerTypes
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.BannerTypes' ) IS NOT NULL OR IDENT_SEED('dbo.BannerTypes') IS NOT NULL ) SET IDENTITY_INSERT dbo.BannerTypes ON
INSERT INTO [dbo].[BannerTypes] ([BannerTypeId],[BannerTypeName]) VALUES('1','Banner')
INSERT INTO [dbo].[BannerTypes] ([BannerTypeId],[BannerTypeName]) VALUES('2','Button ( Small )')
INSERT INTO [dbo].[BannerTypes] ([BannerTypeId],[BannerTypeName]) VALUES('3','Button ( Medium )')
INSERT INTO [dbo].[BannerTypes] ([BannerTypeId],[BannerTypeName]) VALUES('4','Button ( Large )')
INSERT INTO [dbo].[BannerTypes] ([BannerTypeId],[BannerTypeName]) VALUES('5','Skyscraper')
IF(	IDENT_INCR( 'dbo.BannerTypes' ) IS NOT NULL OR IDENT_SEED('dbo.BannerTypes') IS NOT NULL ) SET IDENTITY_INSERT dbo.BannerTypes OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Classification
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Classification' ) IS NOT NULL OR IDENT_SEED('dbo.Classification') IS NOT NULL ) SET IDENTITY_INSERT dbo.Classification ON
IF(	IDENT_INCR( 'dbo.Classification' ) IS NOT NULL OR IDENT_SEED('dbo.Classification') IS NOT NULL ) SET IDENTITY_INSERT dbo.Classification OFF
GO

-----------------------------------------------------------
--Insert data into dbo.ClickLog
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.ClickLog' ) IS NOT NULL OR IDENT_SEED('dbo.ClickLog') IS NOT NULL ) SET IDENTITY_INSERT dbo.ClickLog ON
IF(	IDENT_INCR( 'dbo.ClickLog' ) IS NOT NULL OR IDENT_SEED('dbo.ClickLog') IS NOT NULL ) SET IDENTITY_INSERT dbo.ClickLog OFF
GO

-----------------------------------------------------------
--Insert data into dbo.CodeCountry
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.CodeCountry' ) IS NOT NULL OR IDENT_SEED('dbo.CodeCountry') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeCountry ON
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AD','fr','Andorra')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AE','fr','United Arab Emirates')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AF','fr','Afghanistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AG','fr','Antigua and Barbuda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AI','fr','Anguilla')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AL','fr','Albania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AM','fr','Armenia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AN','fr','Netherlands Antilles')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AO','fr','Angola')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AQ','fr','Antarctica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AR','fr','Argentina')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AS','fr','American Samoa')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AT','fr','Austria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AU','fr','Australia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AW','fr','Aruba')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AZ','fr','Azerbaijan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BA','fr','Bosnia and Herzegovina')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BB','fr','Barbados')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BD','fr','Bangladesh')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BE','fr','Belgium')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BF','fr','Burkina Faso')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BG','fr','Bulgaria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BH','fr','Bahrain')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BI','fr','Burundi')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BJ','fr','Benin')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BM','fr','Bermuda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BN','fr','Brunei Darussalam')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BO','fr','Bolivia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BR','fr','Brazil')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BS','fr','Bahamas')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BT','fr','Bhutan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BV','fr','Bouvet Island')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BW','fr','Botswana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BY','fr','Belarus')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BZ','fr','Belize')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CA','fr','Canada')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CC','fr','Cocos')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CF','fr','Central African Republic')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CG','fr','Congo')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CH','fr','Switzerland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CI','fr','Ivory Coast')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CK','fr','Cook Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CL','fr','Chile')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CM','fr','Cameroon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CN','fr','China')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CO','fr','Colombia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CR','fr','Costa Rica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CU','fr','Cuba')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CV','fr','Cape Verde')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CX','fr','Christmas Island')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CY','fr','Cyprus')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CZ','fr','Czech Republic')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DE','fr','Germany')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DJ','fr','Djibouti')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DK','fr','Denmark')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DM','fr','Dominica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DO','fr','Dominican Republic')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DZ','fr','Algeria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EC','fr','Ecuador')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EE','fr','Estonia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EG','fr','Egypt')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EH','fr','Western Sahara')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ER','fr','Eritrea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ES','fr','Spain')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ET','fr','Ethiopia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FI','fr','Finland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FJ','fr','Fiji')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FK','fr','Falkland Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FM','fr','Micronesia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FO','fr','Faroe Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FR','fr','France')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GA','fr','Gabon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GD','fr','Grenada')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GE','fr','Georgia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GF','fr','French Guiana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GH','fr','Ghana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GI','fr','Gibraltar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GL','fr','Greenland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GM','fr','Gambia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GN','fr','Guinea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GP','fr','Guadeloupe')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GQ','fr','Equatorial Guinea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GR','fr','Greece')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GS','fr','S. Georgia and S. Sandwich Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GT','fr','Guatemala')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GU','fr','Guam')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GW','fr','Guinea-Bissau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GY','fr','Guyana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HK','fr','Hong Kong')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HM','fr','Heard and McDonald Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HN','fr','Honduras')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HR','fr','Croatia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HT','fr','Haiti')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HU','fr','Hungary')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ID','fr','Indonesia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IE','fr','Ireland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IL','fr','Israel')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IN','fr','India')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IO','fr','British Indian Ocean Territory')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IQ','fr','Iraq')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IR','fr','Iran')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IS','fr','Iceland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IT','fr','Italy')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('JM','fr','Jamaica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('JO','fr','Jordan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('JP','fr','Japan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KE','fr','Kenya')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KG','fr','Kyrgyzstan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KH','fr','Cambodia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KI','fr','Kiribati')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KM','fr','Comoros')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KN','fr','Saint Kitts and Nevis')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KP','fr','North Korea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KR','fr','South Korea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KW','fr','Kuwait')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KY','fr','Cayman Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KZ','fr','Kazakhstan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LA','fr','Laos')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LB','fr','Lebanon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LC','fr','Saint Lucia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LI','fr','Liechtenstein')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LK','fr','Sri Lanka')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LR','fr','Liberia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LS','fr','Lesotho')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LT','fr','Lithuania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LU','fr','Luxembourg')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LV','fr','Latvia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LY','fr','Libya')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MA','fr','Morocco')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MC','fr','Monaco')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MD','fr','Moldova')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MG','fr','Madagascar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MH','fr','Marshall Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MK','fr','Macedonia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ML','fr','Mali')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MM','fr','Myanmar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MN','fr','Mongolia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MO','fr','Macau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MP','fr','Northern Mariana Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MQ','fr','Martinique')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MR','fr','Mauritania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MS','fr','Montserrat')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MT','fr','Malta')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MU','fr','Mauritius')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MV','fr','Maldives')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MW','fr','Malawi')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MX','fr','Mexico')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MY','fr','Malaysia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MZ','fr','Mozambique')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NA','fr','Namibia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NC','fr','New Caledonia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NE','fr','Niger')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NF','fr','Norfolk Island')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NG','fr','Nigeria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NI','fr','Nicaragua')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NL','fr','Netherlands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NO','fr','Norway')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NP','fr','Nepal')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NR','fr','Nauru')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NU','fr','Niue')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NZ','fr','New Zealand')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('OM','fr','Oman')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PA','fr','Panama')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PE','fr','Peru')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PF','fr','French Polynesia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PG','fr','Papua New Guinea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PH','fr','Philippines')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PK','fr','Pakistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PL','fr','Poland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PM','fr','St. Pierre and Miquelon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PN','fr','Pitcairn')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PR','fr','Puerto Rico')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PT','fr','Portugal')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PW','fr','Palau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PY','fr','Paraguay')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('QA','fr','Qatar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RE','fr','Reunion')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RO','fr','Romania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RU','fr','Russian Federation')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RW','fr','Rwanda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SA','fr','Saudi Arabia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SB','fr','Solomon Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SC','fr','Seychelles')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SD','fr','Sudan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SE','fr','Sweden')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SG','fr','Singapore')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SH','fr','St. Helena')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SI','fr','Slovenia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SJ','fr','Svalbard and Jan Mayen Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SK','fr','Slovakia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SL','fr','Sierra Leone')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SM','fr','San Marino')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SN','fr','Senegal')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SO','fr','Somalia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SR','fr','Suriname')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ST','fr','Sao Tome and Principe')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SU','fr','Soviet Union')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SV','fr','El Salvador')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SY','fr','Syria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SZ','fr','Swaziland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TC','fr','Turks and Caicos Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TD','fr','Chad')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TF','fr','French Southern Territories')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TG','fr','Togo')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TH','fr','Thailand')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TJ','fr','Tajikistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TK','fr','Tokelau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TM','fr','Turkmenistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TN','fr','Tunisia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TO','fr','Tonga')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TP','fr','East Timor')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TR','fr','Turkey')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TT','fr','Trinidad and Tobago')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TV','fr','Tuvalu')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TW','fr','Taiwan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TZ','fr','Tanzania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UA','fr','Ukraine')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UG','fr','Uganda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UK','fr','United Kingdom')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UM','fr','US Minor Outlying Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('US','fr','United States')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UY','fr','Uruguay')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UZ','fr','Uzbekistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VC','fr','Saint Vincent and The Grenadines')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VE','fr','Venezuela')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VG','fr','British Virgin Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VI','fr','US Virgin Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VN','fr','Viet Nam')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VU','fr','Vanuatu')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('WF','fr','Wallis and Futuna Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('WS','fr','Samoa')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('YE','fr','Yemen')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('YT','fr','Mayotte')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('YU','fr','Yugoslavia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZA','fr','South Africa')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZM','fr','Zambia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZR','fr','Zaire')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZW','fr','Zimbabwe')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AD','en','Andorra')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AE','en','United Arab Emirates')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AF','en','Afghanistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AG','en','Antigua and Barbuda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AI','en','Anguilla')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AL','en','Albania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AM','en','Armenia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AN','en','Netherlands Antilles')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AO','en','Angola')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AQ','en','Antarctica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AR','en','Argentina')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AS','en','American Samoa')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AT','en','Austria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AU','en','Australia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AW','en','Aruba')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('AZ','en','Azerbaijan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BA','en','Bosnia and Herzegovina')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BB','en','Barbados')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BD','en','Bangladesh')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BE','en','Belgium')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BF','en','Burkina Faso')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BG','en','Bulgaria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BH','en','Bahrain')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BI','en','Burundi')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BJ','en','Benin')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BM','en','Bermuda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BN','en','Brunei Darussalam')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BO','en','Bolivia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BR','en','Brazil')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BS','en','Bahamas')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BT','en','Bhutan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BV','en','Bouvet Island')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BW','en','Botswana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BY','en','Belarus')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('BZ','en','Belize')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CA','en','Canada')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CC','en','Cocos')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CF','en','Central African Republic')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CG','en','Congo')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CH','en','Switzerland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CI','en','Ivory Coast')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CK','en','Cook Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CL','en','Chile')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CM','en','Cameroon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CN','en','China')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CO','en','Colombia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CR','en','Costa Rica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CU','en','Cuba')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CV','en','Cape Verde')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CX','en','Christmas Island')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CY','en','Cyprus')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('CZ','en','Czech Republic')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DE','en','Germany')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DJ','en','Djibouti')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DK','en','Denmark')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DM','en','Dominica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DO','en','Dominican Republic')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('DZ','en','Algeria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EC','en','Ecuador')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EE','en','Estonia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EG','en','Egypt')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('EH','en','Western Sahara')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ER','en','Eritrea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ES','en','Spain')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ET','en','Ethiopia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FI','en','Finland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FJ','en','Fiji')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FK','en','Falkland Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FM','en','Micronesia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FO','en','Faroe Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('FR','en','France')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GA','en','Gabon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GD','en','Grenada')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GE','en','Georgia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GF','en','French Guiana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GH','en','Ghana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GI','en','Gibraltar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GL','en','Greenland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GM','en','Gambia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GN','en','Guinea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GP','en','Guadeloupe')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GQ','en','Equatorial Guinea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GR','en','Greece')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GS','en','S. Georgia and S. Sandwich Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GT','en','Guatemala')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GU','en','Guam')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GW','en','Guinea-Bissau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('GY','en','Guyana')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HK','en','Hong Kong')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HM','en','Heard and McDonald Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HN','en','Honduras')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HR','en','Croatia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HT','en','Haiti')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('HU','en','Hungary')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ID','en','Indonesia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IE','en','Ireland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IL','en','Israel')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IN','en','India')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IO','en','British Indian Ocean Territory')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IQ','en','Iraq')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IR','en','Iran')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IS','en','Iceland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('IT','en','Italy')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('JM','en','Jamaica')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('JO','en','Jordan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('JP','en','Japan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KE','en','Kenya')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KG','en','Kyrgyzstan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KH','en','Cambodia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KI','en','Kiribati')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KM','en','Comoros')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KN','en','Saint Kitts and Nevis')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KP','en','North Korea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KR','en','South Korea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KW','en','Kuwait')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KY','en','Cayman Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('KZ','en','Kazakhstan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LA','en','Laos')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LB','en','Lebanon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LC','en','Saint Lucia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LI','en','Liechtenstein')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LK','en','Sri Lanka')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LR','en','Liberia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LS','en','Lesotho')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LT','en','Lithuania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LU','en','Luxembourg')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LV','en','Latvia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('LY','en','Libya')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MA','en','Morocco')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MC','en','Monaco')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MD','en','Moldova')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MG','en','Madagascar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MH','en','Marshall Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MK','en','Macedonia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ML','en','Mali')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MM','en','Myanmar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MN','en','Mongolia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MO','en','Macau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MP','en','Northern Mariana Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MQ','en','Martinique')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MR','en','Mauritania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MS','en','Montserrat')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MT','en','Malta')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MU','en','Mauritius')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MV','en','Maldives')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MW','en','Malawi')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MX','en','Mexico')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MY','en','Malaysia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('MZ','en','Mozambique')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NA','en','Namibia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NC','en','New Caledonia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NE','en','Niger')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NF','en','Norfolk Island')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NG','en','Nigeria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NI','en','Nicaragua')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NL','en','Netherlands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NO','en','Norway')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NP','en','Nepal')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NR','en','Nauru')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NU','en','Niue')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('NZ','en','New Zealand')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('OM','en','Oman')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PA','en','Panama')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PE','en','Peru')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PF','en','French Polynesia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PG','en','Papua New Guinea')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PH','en','Philippines')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PK','en','Pakistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PL','en','Poland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PM','en','St. Pierre and Miquelon')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PN','en','Pitcairn')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PR','en','Puerto Rico')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PT','en','Portugal')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PW','en','Palau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('PY','en','Paraguay')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('QA','en','Qatar')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RE','en','Reunion')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RO','en','Romania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RU','en','Russian Federation')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('RW','en','Rwanda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SA','en','Saudi Arabia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SB','en','Solomon Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SC','en','Seychelles')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SD','en','Sudan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SE','en','Sweden')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SG','en','Singapore')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SH','en','St. Helena')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SI','en','Slovenia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SJ','en','Svalbard and Jan Mayen Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SK','en','Slovakia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SL','en','Sierra Leone')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SM','en','San Marino')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SN','en','Senegal')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SO','en','Somalia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SR','en','Suriname')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ST','en','Sao Tome and Principe')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SU','en','Soviet Union')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SV','en','El Salvador')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SY','en','Syria')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('SZ','en','Swaziland')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TC','en','Turks and Caicos Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TD','en','Chad')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TF','en','French Southern Territories')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TG','en','Togo')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TH','en','Thailand')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TJ','en','Tajikistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TK','en','Tokelau')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TM','en','Turkmenistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TN','en','Tunisia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TO','en','Tonga')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TP','en','East Timor')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TR','en','Turkey')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TT','en','Trinidad and Tobago')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TV','en','Tuvalu')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TW','en','Taiwan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('TZ','en','Tanzania')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UA','en','Ukraine')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UG','en','Uganda')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UK','en','United Kingdom')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UM','en','US Minor Outlying Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('US','en','United States')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UY','en','Uruguay')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('UZ','en','Uzbekistan')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VC','en','Saint Vincent and The Grenadines')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VE','en','Venezuela')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VG','en','British Virgin Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VI','en','US Virgin Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VN','en','Viet Nam')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('VU','en','Vanuatu')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('WF','en','Wallis and Futuna Islands')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('WS','en','Samoa')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('YE','en','Yemen')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('YT','en','Mayotte')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('YU','en','Yugoslavia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZA','en','South Africa')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZM','en','Zambia')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZR','en','Zaire')
INSERT INTO [dbo].[CodeCountry] ([Code],[Language],[Description]) VALUES('ZW','en','Zimbabwe')
IF(	IDENT_INCR( 'dbo.CodeCountry' ) IS NOT NULL OR IDENT_SEED('dbo.CodeCountry') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeCountry OFF
GO

-----------------------------------------------------------
--Insert data into dbo.CodeCurrency
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.CodeCurrency' ) IS NOT NULL OR IDENT_SEED('dbo.CodeCurrency') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeCurrency ON
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('CAD','fr','Canadien (CAD)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('EUR','fr','Euros (EUR)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('GBP','fr','Livres Sterling (GBP)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('JPY','fr','Yen (JPY)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('USD','fr','U.S. (USD)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('CAD','en','Canadian (CAD)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('EUR','en','Euros (EUR)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('GBP','en','Pound Sterling (GBP)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('JPY','en','Yen (JPY)')
INSERT INTO [dbo].[CodeCurrency] ([Code],[Language],[Description]) VALUES('USD','en','U.S. (USD)')
IF(	IDENT_INCR( 'dbo.CodeCurrency' ) IS NOT NULL OR IDENT_SEED('dbo.CodeCurrency') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeCurrency OFF
GO

-----------------------------------------------------------
--Insert data into dbo.CodeFrequency
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.CodeFrequency' ) IS NOT NULL OR IDENT_SEED('dbo.CodeFrequency') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeFrequency ON
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('D','fr','Jour(s)')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('M','fr','Mois')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('N','fr','Aucun')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('O','fr','Paiement unique')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('W','fr','Semaine(s)')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('Y','fr','Année(s)')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('D','en','Days(s)')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('M','en','Month')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('N','en','None')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('O','en','One time paiement')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('W','en','week(s)')
INSERT INTO [dbo].[CodeFrequency] ([Code],[Language],[Description]) VALUES('Y','en','Year(s)')
IF(	IDENT_INCR( 'dbo.CodeFrequency' ) IS NOT NULL OR IDENT_SEED('dbo.CodeFrequency') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeFrequency OFF
GO

-----------------------------------------------------------
--Insert data into dbo.CodeProcessor
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.CodeProcessor' ) IS NOT NULL OR IDENT_SEED('dbo.CodeProcessor') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeProcessor ON
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Authorize.net','http://www.authorize.net')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Authorize.net 3.1 with eCHECK','http://www.authorize.net')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Cybercash','http://www.cybercash.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Ecx','http://www.ecx.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('ePoch','http://www.ePochsystems.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('eProcessing','http://www.eprocessingnetwork.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('iBill','http://www.ibill.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Intellipay','http://www.intellipay.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('ioNgate','http://www.iongate.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Itransact','http://www.itransact.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('LinkPoint','http://www.linkpoint.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('Mcps','http://www.merchantcommerce.net')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('NetBilling','http://www.netbilling.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PayCom','http://www.paycom.net')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PayflowLink','http://www.verisign.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PayflowPro','http://www.verisign.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PayPal','http://www.paypal.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PayReady','http://www.PayReady.net')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PlanetPayment','http://www.planetpayment.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('PSiGate','http://www.psigate.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('SkipJack','http://www.skipjack.com')
INSERT INTO [dbo].[CodeProcessor] ([Processor],[URL]) VALUES('viaKLIX (Nova)','http://www.novainfo.com')
IF(	IDENT_INCR( 'dbo.CodeProcessor' ) IS NOT NULL OR IDENT_SEED('dbo.CodeProcessor') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeProcessor OFF
GO

-----------------------------------------------------------
--Insert data into dbo.CodeRegion
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.CodeRegion' ) IS NOT NULL OR IDENT_SEED('dbo.CodeRegion') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeRegion ON
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AB','fr','Alberta','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AK','fr','Alaska','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AL','fr','Alabama','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AR','fr','Arkansas','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AZ','fr','Arizona','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('BC','fr','Colombie Britannique','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('CA','fr','Californie','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('CO','fr','Colorado','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('CT','fr','Connecticut','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('DC','fr','District of Columbia','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('DE','fr','Delaware','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('FL','fr','Floride','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('GA','fr','Georgie','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('HI','fr','Hawaii','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('IA','fr','Iowa','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ID','fr','Idaho','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('IL','fr','Illinois','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('IN','fr','Indiana','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('KS','fr','Kansas','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('KY','fr','Kentucky','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('LA','fr','Louisiane','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MA','fr','Massachusetts','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MB','fr','Manitoba','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MD','fr','Maryland','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ME','fr','Maine','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MI','fr','Michigan','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MN','fr','Minnesota','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MO','fr','Missouri','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MS','fr','Mississippi','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MT','fr','Montana','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NB','fr','Nouveau Brunswick','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NC','fr','Caroline du Nord','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ND','fr','North Dakota','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NE','fr','Nebraska','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NF','fr','Terre-Neuve','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NH','fr','New Hampshire','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NJ','fr','New Jersey','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NM','fr','New Mexico','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NS','fr','Nouvelle-Écosse','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NT','fr','Territoires du Nord-Ouest','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NV','fr','Nunavut','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NV','fr','Nevada','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NY','fr','New York','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('OH','fr','Ohio','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('OK','fr','Oklahoma','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ON','fr','Ontario','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('OR','fr','Oregon','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('PA','fr','Pennsylvania','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('PE','fr','Ile du Prince Edouard','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('QC','fr','Québec','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('RI','fr','Rhode Island','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('SC','fr','South Carolina','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('SD','fr','South Dakota','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('SK','fr','Saskatchewan','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('TN','fr','Tennessee','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('TX','fr','Texas','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('UT','fr','Utah','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('VA','fr','Virginia','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('VT','fr','Vermont','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WA','fr','Washington','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WI','fr','Wisconsin','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WV','fr','West Virginia','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WY','fr','Wyoming','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('YT','fr','Yukon','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AB','en','Alberta','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AK','en','Alaska','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AL','en','Alabama','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AR','en','Arkansas','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('AZ','en','Arizona','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('BC','en','Colombie Britannique','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('CA','en','Californie','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('CO','en','Colorado','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('CT','en','Connecticut','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('DC','en','District of Columbia','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('DE','en','Delaware','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('FL','en','Floride','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('GA','en','Georgie','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('HI','en','Hawaii','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('IA','en','Iowa','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ID','en','Idaho','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('IL','en','Illinois','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('IN','en','Indiana','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('KS','en','Kansas','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('KY','en','Kentucky','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('LA','en','Louisiane','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MA','en','Massachusetts','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MB','en','Manitoba','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MD','en','Maryland','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ME','en','Maine','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MI','en','Michigan','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MN','en','Minnesota','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MO','en','Missouri','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MS','en','Mississippi','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('MT','en','Montana','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NB','en','Nouveau Brunswick','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NC','en','Caroline du Nord','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ND','en','North Dakota','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NE','en','Nebraska','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NF','en','Terre-Neuve','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NH','en','New Hampshire','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NJ','en','New Jersey','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NM','en','New Mexico','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NS','en','Nouvelle-Écosse','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NT','en','Territoires du Nord-Ouest','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NV','en','Nevada','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('NY','en','New York','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('OH','en','Ohio','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('OK','en','Oklahoma','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('ON','en','Ontario','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('OR','en','Oregon','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('PA','en','Pennsylvania','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('PE','en','Ile du Prince Edouard','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('QC','en','Québec','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('RI','en','Rhode Island','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('SC','en','South Carolina','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('SD','en','South Dakota','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('SK','en','Saskatchewan','CA')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('TN','en','Tennessee','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('TX','en','Texas','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('UT','en','Utah','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('VA','en','Virginia','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('VT','en','Vermont','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WA','en','Washington','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WI','en','Wisconsin','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WV','en','West Virginia','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('WY','en','Wyoming','US')
INSERT INTO [dbo].[CodeRegion] ([Code],[Language],[Description],[Country]) VALUES('YT','en','Yukon','CA')
IF(	IDENT_INCR( 'dbo.CodeRegion' ) IS NOT NULL OR IDENT_SEED('dbo.CodeRegion') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeRegion OFF
GO

-----------------------------------------------------------
--Insert data into dbo.CodeSiteLogReport
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.CodeSiteLogReport' ) IS NOT NULL OR IDENT_SEED('dbo.CodeSiteLogReport') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeSiteLogReport ON
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('1','fr','Statistiques quotidienne')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('2','fr','Statistiques détaillées')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('3','fr','Utilisation par usager')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('4','fr','Nombre de clics')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('5','fr','Fureteurs utilisés')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('6','fr','Statistiques horaire')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('7','fr','Statistiques hebdomadaire')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('8','fr','Statistiques mensuelle')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('9','fr','Popularité par page')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('10','fr','Inscription par date')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('11','fr','Inscription par pays')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('12','fr','Références au site')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('1','en','Dayly')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('2','en','Detailled')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('3','en','User')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('4','en','Clicks')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('5','en','Browser')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('6','en','Hourly')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('7','en','Weekly')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('8','en','Monthly')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('9','en','Page')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('10','en','Subscription by date')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('11','en','Subscription by country')
INSERT INTO [dbo].[CodeSiteLogReport] ([Code],[Language],[Description]) VALUES('12','en','Site referral')
IF(	IDENT_INCR( 'dbo.CodeSiteLogReport' ) IS NOT NULL OR IDENT_SEED('dbo.CodeSiteLogReport') IS NOT NULL ) SET IDENTITY_INSERT dbo.CodeSiteLogReport OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Contacts
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Contacts' ) IS NOT NULL OR IDENT_SEED('dbo.Contacts') IS NOT NULL ) SET IDENTITY_INSERT dbo.Contacts ON
IF(	IDENT_INCR( 'dbo.Contacts' ) IS NOT NULL OR IDENT_SEED('dbo.Contacts') IS NOT NULL ) SET IDENTITY_INSERT dbo.Contacts OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Discussion
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Discussion' ) IS NOT NULL OR IDENT_SEED('dbo.Discussion') IS NOT NULL ) SET IDENTITY_INSERT dbo.Discussion ON
IF(	IDENT_INCR( 'dbo.Discussion' ) IS NOT NULL OR IDENT_SEED('dbo.Discussion') IS NOT NULL ) SET IDENTITY_INSERT dbo.Discussion OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Documents
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Documents' ) IS NOT NULL OR IDENT_SEED('dbo.Documents') IS NOT NULL ) SET IDENTITY_INSERT dbo.Documents ON
IF(	IDENT_INCR( 'dbo.Documents' ) IS NOT NULL OR IDENT_SEED('dbo.Documents') IS NOT NULL ) SET IDENTITY_INSERT dbo.Documents OFF
GO

-----------------------------------------------------------
--Insert data into dbo.dtproperties
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.dtproperties' ) IS NOT NULL OR IDENT_SEED('dbo.dtproperties') IS NOT NULL ) SET IDENTITY_INSERT dbo.dtproperties ON
IF(	IDENT_INCR( 'dbo.dtproperties' ) IS NOT NULL OR IDENT_SEED('dbo.dtproperties') IS NOT NULL ) SET IDENTITY_INSERT dbo.dtproperties OFF
GO

-----------------------------------------------------------
--Insert data into dbo.FAQs
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.FAQs' ) IS NOT NULL OR IDENT_SEED('dbo.FAQs') IS NOT NULL ) SET IDENTITY_INSERT dbo.FAQs ON
IF(	IDENT_INCR( 'dbo.FAQs' ) IS NOT NULL OR IDENT_SEED('dbo.FAQs') IS NOT NULL ) SET IDENTITY_INSERT dbo.FAQs OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Files
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Files' ) IS NOT NULL OR IDENT_SEED('dbo.Files') IS NOT NULL ) SET IDENTITY_INSERT dbo.Files ON
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('3',NULL,'portal.template','template','1163',NULL,NULL,'application/octet-stream')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('8','0','a2_BG.jpg','jpg','655','6','22','image/jpeg')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('9','0','AltHeader_BG.jpg','jpg','717','15','32','image/jpeg')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('10','0','carpoolworld.gif','gif','924','151','34','image/gif')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('11','0','container.txt','txt','1360',NULL,NULL,'text/plain')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('12','0','Container.zip','zip','9525',NULL,NULL,'application/octet-stream')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('13','0','favicon.ico','ico','1406',NULL,NULL,'application/octet-stream')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('14','0','footer_bg.jpg','jpg','661','10','28','image/jpeg')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('15','0','Header_BG.jpg','jpg','753','15','32','image/jpeg')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('16','0','logo.jpg','jpg','6457','552','50','image/jpeg')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('17','0','logo_gh_250x25.gif','gif','807','150','15','image/gif')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('18','0','SoftComplex.gif','gif','667','150','25','image/gif')
INSERT INTO [dbo].[Files] ([FileId],[PortalId],[FileName],[Extension],[Size],[Width],[Height],[ContentType]) VALUES('19','0','Thumbs.db','db','167424',NULL,NULL,'application/octet-stream')
IF(	IDENT_INCR( 'dbo.Files' ) IS NOT NULL OR IDENT_SEED('dbo.Files') IS NOT NULL ) SET IDENTITY_INSERT dbo.Files OFF
GO

-----------------------------------------------------------
--Insert data into dbo.HostSettings
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.HostSettings' ) IS NOT NULL OR IDENT_SEED('dbo.HostSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.HostSettings ON
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('HostTitle','DotNetZoom')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('HostURL','www.DotNetZoom.com')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('HostEmail','yourmail@domain.com')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('FileExtensions','jpg,jpeg,jpe,gif,bmp,png,doc,xls,ppt,pdf,txt,xml,xsl,css,zip')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('HostFee','0.00')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('HostCurrency','CAD')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('HostSpace','20')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('DemoPeriod','30')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('DemoSignup','Y')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('EncryptionKey','')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('ProxyServer','')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('ProxyPort','')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('SMTPServer','mail.domain.com')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('PaymentProcessor','PayPal')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('PortalModule','Y')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('SiteLogHistory','60')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('ProcessorUserId','')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('ProcessorPassword','')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('DisablePageTitleVersion','N')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('TimeZone','-300')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('ViewState','S')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('WhiteSpace','-1')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('EnableErrorReporting','N')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('SMTPServerUser','')
INSERT INTO [dbo].[HostSettings] ([SettingName],[SettingValue]) VALUES('SMTPServerPassword','')
IF(	IDENT_INCR( 'dbo.HostSettings' ) IS NOT NULL OR IDENT_SEED('dbo.HostSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.HostSettings OFF
GO

-----------------------------------------------------------
--Insert data into dbo.HtmlText
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.HtmlText' ) IS NOT NULL OR IDENT_SEED('dbo.HtmlText') IS NOT NULL ) SET IDENTITY_INSERT dbo.HtmlText ON
INSERT INTO [dbo].[HtmlText] ([ModuleID],[DesktopHtml],[AlternateSummary],[AlternateDetails]) VALUES('2','&lt;p&gt;&lt;br&gt;
&lt;strong&gt;Ouverture d''une session administrateur:&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Code d''acc&amp;egrave;s: admin&lt;br&gt;
Mot de passe: admin&lt;br&gt;
&lt;br&gt;
* Utiliser l''option du menu &lt;a target=&quot;_self&quot; href=&quot;fr.accueil.aspx?adminpage=14&quot;&gt;&lt;img width=&quot;16&quot; height=&quot;16&quot; border=&quot;0&quot; alt=&quot;parametre&quot; src=&quot;images/icon_sitesettings_16px.gif&quot; /&gt;&lt;/a&gt; pour g&amp;eacute;rer les options du portail web. Assurez vous de modifier le m&amp;ocirc;t de passe pour l''administrateur ainsi que d''inscrire une adresse de courriel valide.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Ouverture d''une session webmestre:&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Code d''acc&amp;egrave;s: webmestre&lt;br&gt;
Mot de passe: webmestre&lt;br&gt;
&lt;br&gt;
* Utiliser l''option du menu&amp;nbsp;&lt;a href=&quot;fr.accueil.aspx?adminpage=72&quot;&gt;&lt;img width=&quot;16&quot; height=&quot;14&quot; border=&quot;0&quot; src=&quot;images/icon_hostsettings_16px.gif&quot; alt=&quot;webmestre&quot; /&gt;&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt; pour g&amp;eacute;rer les options globales pour tous les portails du serveur. Assurez vous de modifier le m&amp;ocirc;t de passe pour le webmestre ainsi que&amp;nbsp;d''inscrire une adresse de courriel valide.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;DotNetZoom - http://www.dotnetzoom.com Copyright(c) 2004-2012 Ren&amp;eacute; Boulard Tous droits r&amp;eacute;serv&amp;eacute;s.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;DotNetNuke - http://www.dotnetnuke.com Copyright (c) 2002-2003 Shaun Walker ( sales@perpetualmotion.ca ) de Perpetual Motion Interactive Systems Inc. ( http://www.perpetualmotion.ca ) Tous droits r&amp;eacute;serv&amp;eacute;s.&lt;/p&gt;
&lt;p&gt;La redistribution et l''utilisation sous forme binaire ou de code source, avec ou sans modification, est autoris&amp;eacute;e &amp;agrave; condition que les conditions suivantes soient respect&amp;eacute;es: Les redistributions du code source doivent conserver l''indication de copyright ci-dessus, cette liste de conditions et la renonciation suivante. Les redistributions sous forme binaire doivent reproduire l''indication de copyright ci-dessus, cette liste de conditions et la renonciation suivante dans la documentation et/ou les autres accessoires fournis avec la distribution.&lt;/p&gt;
&lt;p&gt;CE LOGICIEL EST FOURNI PAR LES TITULAIRES DU COPYRIGHT ET LES PARTICIPANTS &amp;quot;TEL QUEL&amp;quot; ET TOUTES LES GARANTIES EXPLICITES OU IMPLICITES, Y COMPRIS, MAIS NON LIMIT&amp;Eacute;ES A CELLES-CI, LES GARANTIES IMPLICITES DE COMMERCIALISATION ET D''AD&amp;Eacute;QUATION &amp;Agrave; UN USAGE PARTICULIER SONT D&amp;Eacute;NI&amp;Eacute;ES. EN AUCUN CAS LES TITULAIRES DU COPYRIGHT OU LES PARTICIPANTS NE PEUVENT &amp;Ecirc;TRE TENUS POUR RESPONSABLE DES DOMMAGES DIRECTS, INDIRECTS, FORTUITS, PARTICULIERS, EXEMPLAIRES OU CONS&amp;Eacute;CUTIFS &amp;Agrave; UNE ACTION (Y COMPRIS, MAIS NON LIMIT&amp;Eacute;S &amp;Agrave; CEUX-CI, L''ACQUISITION DE MARCHANDISES OU DE SERVICES DE REMPLACEMENT; LES PERTES D''UTILISATIONS, DE DONN&amp;Eacute;ES OU FINANCI&amp;Egrave;RES; OU L''INTERRUPTION D''ACTIVIT&amp;Eacute;S) DE QUELQUE MANI&amp;Egrave;RE QUE CES DOMMAGES SOIENT CAUS&amp;Eacute;S ET CECI POUR TOUTES LES TH&amp;Eacute;ORIES DE RESPONSABILIT&amp;Eacute;S, QUE CE SOIT DANS UN CONTRAT, POUR DES RESPONSABILIT&amp;Eacute;S STRICTES OU DES PR&amp;Eacute;JUDICES (Y COMPRIS DUS &amp;Agrave; UNE NEGLIGENCE OU AUTRE CHOSE) SURVENANT DE QUELQUE MANI&amp;Egrave;RE QUE CE SOIT EN DEHORS DE L''UTILISATION DE CE LOGICIEL, M&amp;Ecirc;ME EN CAS D''AVERTISSEMENT DE LA POSSIBILIT&amp;Eacute; DE TELS DOMMAGES.&lt;/p&gt;<p>
    <a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-html401-blue"
        alt="Valid HTML 4.01 Transitional" border="0" height="31" width="88"></a>
  </p>','','')
INSERT INTO [dbo].[HtmlText] ([ModuleID],[DesktopHtml],[AlternateSummary],[AlternateDetails]) VALUES('4','&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a title=&quot;Les conceteur du menu Tigra&quot; href=&quot;http://www.softcomplex.com/&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;25&quot; border=&quot;0&quot; src=&quot;[GUID]SoftComplex.gif&quot; alt=&quot;softcomplex&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style=&quot;text-align: center;&quot;&gt; &lt;/div&gt;
&lt;p style=&quot;text-align: center;&quot;&gt; &lt;a title=&quot;Pour un modliste avertie&quot; href=&quot;http://www.greathobbies.com/&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;15&quot; border=&quot;0&quot; src=&quot;[GUID]logo_gh_250x25.gif&quot; alt=&quot;greathobby&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style=&quot;text-align: center;&quot;&gt; &lt;/div&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a title=&quot;Le choix �cologique a faire&quot; href=&quot;http://www.carpoolworld.com/&quot;&gt;&lt;img width=&quot;151&quot; height=&quot;34&quot; border=&quot;0&quot; src=&quot;[GUID]carpoolworld.gif&quot; alt=&quot;carpoolworld&quot; /&gt;&lt;/a&gt;&lt;/p&gt;','Commanditaires','')
INSERT INTO [dbo].[HtmlText] ([ModuleID],[DesktopHtml],[AlternateSummary],[AlternateDetails]) VALUES('6','&lt;br&gt;
&lt;strong&gt;Administrator Login:&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Username: admin&lt;br&gt;
Password: admin&lt;br&gt;
&lt;br&gt;
* Select  &lt;a target=&quot;_self&quot; href=&quot;fr.accueil.aspx?adminpage=14&quot;&gt;&lt;img width=&quot;16&quot; height=&quot;16&quot; border=&quot;0&quot; alt=&quot;parametre&quot; src=&quot;images/icon_sitesettings_16px.gif&quot; /&gt;&lt;/a&gt; to manage the portal settings as the Administrator. Make sure you change the default password and specify a valid Email address for this account.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Host Login:&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Username: webmestre&lt;br&gt;
Password: webmestre&lt;br&gt;
&lt;br&gt;
* Select  &lt;a href=&quot;fr.accueil.aspx?adminpage=72&quot; target=&quot;_self&quot;&gt;&lt;img width=&quot;16&quot; height=&quot;14&quot; border=&quot;0&quot; src=&quot;images/icon_hostsettings_16px.gif&quot; alt=&quot;hostsettings&quot; /&gt;&lt;/a&gt; to manage multiple portals as the Host. Make sure you change the default password and specify a valid Email address for this account.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Open Source License:&lt;/strong&gt; &lt;br&gt;
&lt;br&gt;
DotNetZoom - http://www.dotnetzoom.com&lt;br&gt;
Copyright (c) 2004-2012&lt;br&gt;
by Ren&amp;eacute; Boulard&lt;br&gt;
&lt;br&gt;
DotNetNuke -  &lt;a href=&quot;http://www.dotnetnuke.com&quot;&gt;http://www.dotnetnuke.com&lt;/a&gt;&lt;br&gt;
Copyright (c) 2002-2003&lt;br&gt;
by Shaun Walker ( &lt;a href=&quot;mailto:sales@perpetualmotion.ca&quot;&gt;sales@perpetualmotion.ca&lt;/a&gt; )&lt;br&gt;
of Perpetual Motion Interactive Systems Inc. ( &lt;a href=&quot;http://www.perpetualmotion.ca&quot;&gt;http://www.perpetualmotion.ca&lt;/a&gt; )&lt;br&gt;
&lt;br&gt;
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &amp;quot;Software&amp;quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:&lt;br&gt;
&lt;br&gt;
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&lt;br&gt;
&lt;br&gt;
THE SOFTWARE IS PROVIDED &amp;quot;AS IS&amp;quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<p>
    <a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-html401-blue"
        alt="Valid HTML 4.01 Transitional" border="0" height="31" width="88"></a>
  </p>','','')
INSERT INTO [dbo].[HtmlText] ([ModuleID],[DesktopHtml],[AlternateSummary],[AlternateDetails]) VALUES('8','&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.softcomplex.com/&quot; title=&quot;The maker of tigra menu&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;25&quot; border=&quot;0&quot; src=&quot;[GUID]SoftComplex.gif&quot; alt=&quot;softcomplex&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style=&quot;text-align: center;&quot;&gt; &lt;/div&gt;
&lt;p style=&quot;text-align: center;&quot;&gt; &lt;a href=&quot;http://www.greathobbies.com/&quot; title=&quot;For the serious hobby person&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;15&quot; border=&quot;0&quot; src=&quot;[GUID]logo_gh_250x25.gif&quot; alt=&quot;greathobby&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style=&quot;text-align: center;&quot;&gt; &lt;/div&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.carpoolworld.com/&quot; title=&quot;Teh ecologic choice to make&quot;&gt;&lt;img width=&quot;151&quot; height=&quot;34&quot; border=&quot;0&quot; src=&quot;[GUID]carpoolworld.gif&quot; alt=&quot;carpoolworld&quot; /&gt;&lt;/a&gt;&lt;/p&gt;','','')
IF(	IDENT_INCR( 'dbo.HtmlText' ) IS NOT NULL OR IDENT_SEED('dbo.HtmlText') IS NOT NULL ) SET IDENTITY_INSERT dbo.HtmlText OFF
GO

-----------------------------------------------------------
--Insert data into dbo.language
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.language' ) IS NOT NULL OR IDENT_SEED('dbo.language') IS NOT NULL ) SET IDENTITY_INSERT dbo.language ON
INSERT INTO [dbo].[language] ([LanguageID],[Language],[Description],[CultureCode],[Encoding],[HomePage],[FriendlyHomePage],[AdminRole],[AdminRoleDesc],[UserRole],[UserRoleDesc]) VALUES('2','en','English','en-US','utf-8','Home','home','Administrator','Account for portal administration','Members','Account for users membership')
INSERT INTO [dbo].[language] ([LanguageID],[Language],[Description],[CultureCode],[Encoding],[HomePage],[FriendlyHomePage],[AdminRole],[AdminRoleDesc],[UserRole],[UserRoleDesc]) VALUES('1','fr','Fran�çais','fr-CA','utf-8','Accueil','accueil','Administrateurs','Administration du portail','Usagers','Usagers inscrits')
IF(	IDENT_INCR( 'dbo.language' ) IS NOT NULL OR IDENT_SEED('dbo.language') IS NOT NULL ) SET IDENTITY_INSERT dbo.language OFF
GO

-----------------------------------------------------------
--Insert data into dbo.languageSettings
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.languageSettings' ) IS NOT NULL OR IDENT_SEED('dbo.languageSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.languageSettings ON
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_region','Province','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_city','Ville','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_street','Rue','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_app','App.#','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_postal_code','Code Postal','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_telephone','Téléphone','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_region_us','États','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_postal_code_us','Zip code','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_region_ca','Province','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_postal_code_ca','Code Postal','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_country','Pays','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','paramêtres','paramètres','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','haut','Haut','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bas','Bas','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','gauche','Gauche','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','droite','Droite','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','actualiser','Actualiser','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','voir l''aide','Voir l''aide','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cacher l''aide','Cacher l''aide','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_menu','Menu Admin','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_services','Cliquer ici pour voir les services offerts','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_profile','Cliquer ici pour modifier votre profil','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_hide_option','Cacher les options de modification des modules','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_show_option','Afficher les options de modification des modules','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_edit_tab','Modifier&nbsp;la page','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_add_tab','Ajouter&nbsp;une&nbsp;page','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_add_module','Ajouter&nbsp;un&nbsp;module','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_clear_caches','Effacer&nbsp;les&nbsp;antémémoires','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_menu_hide','Faire disparaitre le menu','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_hide_info','Faire disparaitre','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_this_image','choisir cette image','Album',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','click_to_erase','Cliquer pour effacer l''îcone','Album',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','album_show_icone','Afficher les icônes d''une certaine grandeur seulement','Album',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_clicks','Clicks','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','see_more','voir&nbsp;plus&nbsp;...','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_description','Description','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_description','Vous devez saisir une description de l''annonce','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_selectlink','Choisir un lien Externe','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_link','&nbsp;Lien externe','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_selectIlink','Choisir un lien Interne','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_Ilink','&nbsp;Lien interne','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_SelectFile','Choisir un fichier&nbsp;','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_File','&nbsp;Lien fichier','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','command_upload','Télécharger','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_expiration','Expiration: YYYY-MM-DD','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','command_calendar','Calendrier','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_vieworder','Ordre de parution','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_update_by','Dernière mise à jour par','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_update_the','le','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_see_stat','Voir statistiques?','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','header_date','date','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_title','Vous devez saisir un titre pour faire une annonce','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_title','Titre','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_syndicate','*syndication','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','today','Aujourd''hui','Calendar',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','send','Envoyer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','show','Afficher','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','filemanager_security1','{AdministratorEmail}<img src="/images/uoUnreadPriv.gif" border="0" height="10" width="14" alt="courriel" Title="Cliquer ici pour faire une demande au webmestre"></a></p>','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','filemanager_security2','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=button value="Fermer" onClick="javascript:window.close();">','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_portal','Voulez vous vraiment effacer le portail?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_premium','Si vous voulez ajouter un module Premium à votre portail, s.v.p. contacter votre webmestre','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_unsubscribe','Voulez vous vraiment annuler votre inscription ?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_delete_icone','Voulez vous vraiment effacer l''îcone. Un îcone par défaut sera utilisé, sinon vous pouvez en télécharger un nouveau.','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','filemanager_security','<p>Votre profil de sécurité ne vous donne pas accès à cette page.</p><p>Si vous croyez que vous devriez avoir accès à cette page <b>veuillez faire une demande au webmestre du site web {PortalName} </b>','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_erasealbum','Dans l''album vous avez {items} items. Voulez vous vraiment tous les effacer?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm','Voulez vous vraiment l''effacer?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_file_or_rep','Voulez vous effacer ces fichiers ou dossiers?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_erase_role','Voulez vous vraiment effacer ce profil de sécurité ?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_erase_userrole','Voulez vous vraiment enlever ce profil de sécurité à cet usager ?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_erase','Voulez vous vraiment les effacer?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_erase_message','Voulez vous vraiment effacer le message?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','request_confirm_avatar','Voulez vous continuer avec la configuration de la galerie des avatars?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_icone','choisir un icône','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','delete','Supprimer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','syndicate','Contenu en syndication','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','go','Go','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','download','Télécharger','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','return','Retour','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','upload','Télécharger','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','install','Installer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','update','Mettre à jour','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','modifier','Modifier','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','add','Ajouter','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','enregistrer','Enregistrer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','annuler','Annuler','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','visualiser','Visualiser','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','editer','Editer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Name','Nom','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','contact_title','Rôle','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','contact_email','Courriel','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','contact_telephone','Téléphone','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_message_body','Message','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_message_object','Sujet','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_message_user','Auteur','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_message_date','Date','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Reply','Répondre','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_close','Fermer','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_no_answer','Aucune réponse','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_open','Ouvrir','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_anonymous','Visiteur','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','new_message_re','RE:','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','message_le','le','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','header_title','Titre','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','header_what','Quoi','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','header_when','Quand','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','header_size','(KB)','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_internal_doc','Choisir un document interne','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','internal_doc','Document interne','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_external_doc','Choisir un document externe','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','external_doc','Document externe','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','type_doc','Catégorie','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','header_who','Qui','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','channel_syndicate','* Syndication cannal RSS','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_city_name','Le nom de la ville est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_telephone','Votre numéro de téléphone est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_module_def','Entrer la nouvelle définition du module','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_portal_name','Le nom du portail est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_firstname','Un prénom est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_lastname','Votre nom est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_password_confirm','Vous devez confirmer la validité du mot de passe.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_password_match','Le mot de passe ne concorde pas.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_vendor_name','Le nom de la compagnie est requise','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_a_valide_name','Vous devez utiliser un nom valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_object_message','Vous devez saisir un titre pour le message','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_body_message','Vous devez saisir du texte pour le corps du message','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_location_mapquest','Vous devez indiquer un endroit','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_number','Doit être un numéro valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_country_code','Le code du pays est requis','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_region_code','La province est requise.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_username','Un code d''accès est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_password_minimum','Vous devez choisir un mot de passe avec un minimum de 8 lettres ou chiffres','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_password','Un mot de passe est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_email','Une adresse de courriel est requise.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','not_a_date','Mauvaise date!','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_number_purchase','Vous devez indiquer le nombre d''unités que vous voulez acheter','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_value_services0','les frais de services doit être supérieur à 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_billing_period','La période n''est pas valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_billing_period0','La période de facturation doit être supérieur à  0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_trial_fee','Vous devez saisir un frais d''essais valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_trial_fee0','Les frais d''essais doivent être plus que 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_trial_period','La valeur n''est pas valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_trial_period0','Vous devez saisir un valeur de plus que 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_region_name','Le nom de la province est requis.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_street_name','Le nom de la rue est requis','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_postal_code','Le code postal est requis','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_username_minimum','Vous devez choisir un code d''accès avec un minimum de 8 lettres ou chiffres','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_valid_emai','L''adresse de courriel n''est pas valide.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_tab_name','Un nom pour la page est requise','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_role_name','Vous devez saisir un nom.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','bad_value_services','La valeur des frais de services n''est pas bonne','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_banner_name','Vous devez saisir un nom pour l''oriflamme','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_exposition_number','Vous devez saisir un nombre d''expositions valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_CPM_number','Vous devez saisir un nombre CPM valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_valid_description','une description est requise','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_alt','un texte alternatif est requis','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_start_date','Une date de début est requise','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_country_name','Le nom du pays est requis!','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','calendar','Calendrier','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_format','Montrer le format','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_list','Liste','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','calendar_cel_width','Largeur&nbsp;cellule','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','calendar_cel_height','Hauteur cellule','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_icone_tooltip','Il est recommandé d''utiliser un icône de  20px X 20px maximum','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_interval','Intervalles','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_icone','Icône','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_alt','Texte alternatif','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_period','Périodicité','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_day','Jour(s)','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_week','Semaine (s)','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_month','Mois','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','events_year','Année (s)','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','start_date','Date début','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','start_hour','Heure','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','end_date','Date&nbsp;fin','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_width_height','Dimensions:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_resolution','Résolution:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_orientation','Orientation:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_title','Titre:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_description','Description:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_copyright','Copyright:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_artist','Propriétaire:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_equipement','Appareil Photo:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_equipement_maker','Fabricant:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_equipement_model','Modèle:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_software','Logiciel:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_date_time','Date et heure:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_date_time_last_mod','General:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_date_time_created','Original:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_date_time_digitized','Numérisée:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_photo_param','Paramètres de la photographie:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_ExposureTime','Temps de pose:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_ExposureProgram','Exposition:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_ExposureMeteringMode','Mode exposition:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_Aperture','Diaphragme:        F','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_iso','ISO sensitivité:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_SubjectDistance','Distance:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_FocalLength','Focale:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_flash','Flash:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exif_LightSource','Source lumière(WB):','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','question','Q.','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','answer','Réponse :','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_question','Question','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_answer','Réponse','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','to','À','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','email','Courriel','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','your_name','Votre nom','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','object','Objet','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tooltip_feedback','Enregister l''adresse de courriel par défaut!','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tooltip_send','Faire parvenir le courriel au webmestre!','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','AlternateDetailSummary','Key words','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SendPMS','PRIVATE MESSAGE','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Search','Advanced search','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Select_Forum_Search','Select all','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','WhiteSpaceHTML','Reduction HTML','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Cont','cliquer pour continuer...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_CacheGen','La galerie se crée...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_CacheRed','Si cette page ne vous redirige pas automatiquement,','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','all','tout','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','list_none','<Aucun>','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','help','Aide','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_help','besoins d''aide','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','exit','Fermer la session','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','login','Ouvrir une session','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','error','Erreur','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','module_info','Info Module :','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','no_module_info','Il n''y a aucune information de disponible sur ce module.','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','html','html','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','text','texte','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','auto','auto','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','no','non','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','yes','oui','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','browser_non_compatible','Il est imposible d''afficher cette page puisque votre fureteur n''est pas compatible.  Je vous suggère d''utiliser Internet Explorer 5.0 ou 6.0','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','iframe_source','Source','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','iframe_width','Largeur','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','iframe_height','Hauteur','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','iframe_title','Titre','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','iframe_scroll','Défilement','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','iframe_border','Bordure','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_select_iternal','Choisir une image interne','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_iternal','Image interne','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_select_external','Choisir une image externe','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_external','Image externe','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_alt_text','Texte alternatif','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_artist','Artiste','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_copyright','Copyright','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_description','Description','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_title','Titre','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_width','Largeur','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','image_height','Hauteur','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','NoFileMessage','Aucun dossier choisi','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UploadSuccessMessage','Téléchargement réussi','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','NoImagesMessage','Aucune image','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','NoFolderSpecifiedMessage','Pas de répertoire','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','NoSpaceLeft','Pas suffisament d''espace disque','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','NoFileToDeleteMessage','Pas de fichier à effacer','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','InvalidFileTypeMessage','Le type de fichier est invalide, vous pouvez seulement télécharger des fichiers jpg gif png tif ou bmp','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','InvalidFileTypeMessage2','Le type de fichier est invalide, vous devez utiliser seulement un GIF ou JPG','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','NoFolderFoundMessage','Erreur, impossible de trouver le répertoire des images','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MagicFileMessage','L''îcone par défaut sera utilisé<br>Sinon télécharger en un nouveau','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MagicFileInfo1','Assurer vous d''utiliser un fichier image de la bonne dimension soit de 20px minimum à 200px maximum.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ErrorGDI','Erreur, ceci n''est pas une image, ou le fichier n''est pas un format d''image valide.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LabelUploadDeleteCancel1','Télécharger une nouvelle image, effacer ou annuler :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageMaxSize','La qualité doit être entre 20-80 et la grandeur maximum de l''image est de 200px','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MagicFileMessage1','Le fichier a été modifié, il est possible que vous ne voyez pas de différence à l''écran, vous devez <b><font color=""#ff0000"">purger votre cache</font></b> sur votre fureteur, puisque vous voyez un fichier en cache sur votre ordinateur.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageDeleted','L''image {imagename} a été effacé','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageDeleteError','Il y a eu une erreur!','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LabelUploadDeleteCancel','Télécharger un nouvel icône, effacer ou annuler :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LabelMaxHeightImage','Hauteur max de l''image :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LabelMaxWImage','Largeur max de l''image :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LabelQuaImage','Qualité de l''image :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageRangeToSave800','Doit être entre 10 à 800','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','IconesFrom','les icônes de :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','IconesTo','à :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageRangeFrom','Doit être entre 5px à 180px max.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageRangeTo','Doit être entre 20px à 200px max.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageQualityRange','Doit être entre 20 à 80','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ImageRangeToSave','Doit être entre 10 à 200','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MagicFileMessage2','Pour puger vos fichier en cache vous devez utiliser l''option - outils - options internet... - supprimer les fichiers,   une fois supprimer vous devez actualiser votre fenêtre."','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MagicFileInfo','Vous pouvez personnaliser l''apparence des répertoires ainsi que des fichiers vidéo.  Pour assigner une image à un répertoire à la place de l''icône par défaut vous devez télécharger une image gif ou jpg.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','error_panel_title','Erreur','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_create','Générer un script SQL de ','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_clicktocreate','Cliquer ici pour créer un nouvelle langue','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_clicktoadd','Cliquer ici pour ajouter','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_clicktogenerate','Cliquer ici pour générer un script SQL de la langue','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language','Français','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_param','Param','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_change','Modifier','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_new','Ajouter une nouvelle langue','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_add','Ajouter un élément','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_context','Contexte','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_value','Info','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_see','Voir','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','culturecode','fr-CA','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_info','...','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_info_tooltip','Voir plus d''info sur!','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_options_list','Liste','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_options_dropdown','Menu déroulant','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_label_list_type','Type de liste','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_label_list_format','Format d''affichage de la liste','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_label_see_info','Afficher l''information de l''hyperlien','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_options_vertical','Vertical','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_options_horizontal','Horizontal','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_options_yes','Oui','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_options_no','Non','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_title','Titre','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_external_link','Choisir un Hyperlien extérieur','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_internal_link','Choisir un Hyperlien interne','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','external_link','Hyperlien extérieur','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','internal_link','Hyperlien interne','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','select_file_link','Choisir un Hyperlien de fichier','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','file_link','Hyperlien de fichier','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','link_description','Description','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','link_vue_order','Ordre de vue','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','link_new_window','Afficher dans une nouvelle fenêtre?','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Label_enter','Ouvrir une session','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Label_UserName','Code d''accès','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Login_Keep','Garder en mémoire','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Button_Enter','Entrer','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Button_Register','S''inscrire','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Button_Password','Récupérer mot de passe','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Button_PasswordTooltip','Cliquer ici pour recevoir par courriel votre môt de passe.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Button_RegisterTooltip','Cliquer ici pour vous inscrire.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage1','Le code d''accès n''existe pas','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage2','Nous vous avons fait parvenir votre mot de passe à votre adresse de courriel.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage3','Votre code d''accès ou mot de passe sont invalides essayer de nouveau.  La validation de votre mot de passe est sensible aux minuscules et majuscules.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage4','Entrer votre code de validation','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage5','Le Code n''est pas bon','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Signin_hide','Cliquer ici pour fermer la fenêtre.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Label_Password','Mot de passe','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Label_ValidCode','Code de validation','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Button_EnterTooltip','Cliquer ici pour ouvrir la session.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage','SVP saisissez votre code d''accès','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','registration_ok','Résultat de l''inscription','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','create_portal','Création d''un Portail','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','privacy_declaration','DÉCLARATIONS DE CONFIDENTIALITÉ','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_sql','SQL','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_terms','CONDITIONS GÉNÉRALES','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_denied','Refus','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_expired','Portail périmé','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_enter','Ouvrir une session','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_manage_user_table','Gestion des tables usager','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_vendor_feedback','Rétroaction fournisseur','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','banners_host','serveur','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','banners_portal','portail','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_banner_type','Type d''enseigne','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_banner_order','Ordre de l''enseigne','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_banner_source','Source de l''enseigne','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','directory_from','Source du répertoire','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_see_comments','Voir les commentaires?','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','allow_vendors_register','Autoriser les fournisseurs à s''inscrire?','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','label_search','Rechercher','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','banner_register','S''inscrire','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','register_no','Pour le moment, vous ne pouvez pas vous inscrire à notre service','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','register_more_info','Vous devez vous identifier avec votre code d''accès et votre mot de passe. Si vous êtes déjà inscrit, S.V.P. <a class="CommandButton" href="{httplogin}">Entrer</a> maintenant. Sinon, <a class="CommandButton" href="{httpregister}">inscrivez vous.</a>','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_noconnect_error','Le lien RSS n''est pas disponible. Message d''erreur: {errormessage}','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_internal','Interne','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_external','Externe','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_css_internal','CSS Interne','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_css_external','CSS Externe','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_noconnect_admin','Il a été impossible de se connecter {xmlsrc}. Vous devriez valider que l''adresse est correcte ainsi que les paramètres proxy sont valide.','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_news_source','Source des nouvelles','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_CSS_source','Modèle CSS des nouvelles','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_security','Options de sécurité (optionnel)','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_security_account','Information de compte','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_account_info','domain\Code d''accès','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_account_password','Môt passe','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','search_search','Rechercher','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_show_desc','Voir la description?','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_show_audit','Voir l''audit?','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_show_breadcrum','Voir le chemin contextuel?','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_sql_table','Table','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','search_header_title','Titre','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','search_header_table','Table','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','search_header_desc','Description','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','search_header_update','Mise à jour','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','search_header_who','Par','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_max_result','Nombre maximum de résultats de la recherche','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_max_width','Largeur maximum du titre','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_max_width_desc','Largeur maximum de la description','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ip_address','Adresse IP','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','browser','Fureteur','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','number_of_connections','Nombre de connections','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','server_up_time','Serveur actif depuis','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','number_of_restart','Redémarrages ASP.NET','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','free_memory','Mémoire disponible','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cache_memory_used','Antémémoire utilisé','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','rss_general_info','<b>*Note:</b> Pour une liste exhaustive des nouvelles disponibles aller voir chez&nbsp;<b><a href="http://w.moreover.com/categories/category_list_rss.html" target="_new">Moreover.Com</a></b>','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','day','Jour','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','hour','Heure','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','minute','Minute','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','seconde','Seconde','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','millisecond','Millisecond','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_help1','Pour générer les paramètres nécessaire pour la création d''un menu horizontal, après la création vous pouvez modifier les informations dans la grille de paramêtres.  Pour voir le résultat sur l''écran vous devrez utiliser le bouton <b>tester</b>','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_help2','Prendre les informations de la grille de paramètres et générer un nouveau fichier menu</b> ainsi que d''afficher à l''écran le résultat','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_help3','Pour sauvegarder dans le fichier menu.  Assurer vous de cliquer sur tester si vous avez fait des modifications à la grille de paramètres.','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_return','Revenir sans sauvegarder.','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_help','Pour générer les paramètres nécessaire pour la création d''un menu vertical, après la création vous pouvez modifier les informations dans la grille de paramêtres.  Pour voir le résultat sur l''écran vous devrez utiliser le bouton <b>tester</b>','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_no_pref','Vous n''avez aucun usager préféré','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_no_connect','Vous devez être connecté pour utiliser ce module','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Date_Send','Date envoyée','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_to','À','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_offline','Hors ligne','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_online','En ligne','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_pm','Message(s) privé(s)','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_ToRead','à lire','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Read','Lu','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_click_connect','Cliquer ici pour ouvrir une session et avoir accès à vos messages','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_InBox','Boîte de réception','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_OutBox','Boîte d''envoi','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_write','Écrire','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_ReMessage','<br>----------Message original-------------<br>','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Re','RE:','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Need_Object','Il doit y avoir un sujet et du texte dans le message!<br>','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_No_User','* n''est pas un usager.<br>','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_see_user','Voir le profil de {username}.','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_From','de','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Object','Sujet','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Date_received','Date reçue','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Message_Notice','{FullName},
Vous venez de recevoir un message de {SenderName}.
Pour lire ce message : {MessageURL}','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Notice_Object','Message sur {portalname}','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NotFound','Pas trouvé!','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_see_message','Cliquer ici pour voir le message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_reply','Répondre','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_KeepNew','Garder comme nouveau','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_FindUser','Trouver un usager','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UOSearchHelp','Utiliser * pour une recherche avec troncature','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Message','Message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_ModInfo','Modifier son profil','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_UserName','Nom usager','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Name','Nom','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Since','Depuis','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_LastOn','Dernière visite','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NotRead','Non lu','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Select','Choisir','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_AddList','Ajouter à la liste des usagers préférés','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_SendMessage','Faire parvenir un message privé','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_SearchOptions','Options de recherche','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_See','Voir','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_LRegistered','Dernier','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_TRegistered','Total','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_YRegistered','Hier','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Send','Envoyer','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_OnLineNow','En ligne?','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Body','Usager préféré?','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NoBody','Aucun usager préféré.','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_InfoUserName','Information usager','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_ListUserName','Liste usager préféré de {username}','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_SinceEver','Depuis toujours!','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NeverConnected','S''est jamais connecté','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_AddToList','Ajouter à sa liste d''usager préféré','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_ASC','ordre croissant','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_DESC','ordre décroissant','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_by','par','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_or','en','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_IsBody','Usager préféré','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Page','Page','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_FirstPage','Première','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_PrevPage','Précédente','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NextPage','Suivante','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_LastPage','Dernière','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_OnlyBody','Mes préférés seulement','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Anonymous','Visiteurs','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Members','Membres','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_OnLine_Now','En ligne présentement','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_AllUsers','Tous les usagers','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_OnlineOnly','Seulement les usagers en ligne','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_Registered','Inscription','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Positive_Feedback','Rétroaction positive','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Negative_Feedback','Rétroaction négative','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','vendors_message_feedback2','Si vous êtes déjà  membre, vous pouvez vous incrire ou récupérer votre code d''usager et mot de passe dans la section d''inscription. <b><a href=" {httpregister}">vous inscrire ici</a></b>.<br><br>','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','vendors_user','User','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','lnkmap','carte','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','lnkFeedback','Rétroaction','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','feedback_pos','Positive','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','feedback_neg','Négative','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','vendors_message_feedback1','Si vous désirez annoter un fournisseur, vous devez être un membre du site.<br>','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','noFeedback','Aucune notation de disponible sur le fournisseur','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','w_personalise','Personaliser?','Weather',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','XML_data','Fichier data XML','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','XML_internal','Interne','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','XML_external','Externe','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','XML_transform','Ficher de transformation XSL','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_valid_email','Une adresse de courriel valide est requise.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_title','Titre','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_language','Langue','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_icone','Icône','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_icone_info','Il est recommandé d''utiliser un icône de  20px X 20px maximum','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_show_title','Afficher le titre du module?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_showall_tabs','Afficher le module sur toutes les pages?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_custom','Personnalisation?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_open','Ouvert','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_close','Fermer','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_none','Aucun','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_cache','Mise en cache (sec.)','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_cache_info','La mise en cache est recommandée pour les modules statiques, la période de mise en cache est en seconde','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_see_info','A une priorité sur les paramètres de la page','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_see','Voir','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_mod','Modifier','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener','Habillage du module','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_setup','Enlignement','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_left','Gauche','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_center','Centre','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_right','Droite','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_color','Couleur','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_margin','Marge','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_edit_contener','Modifier l''habillage du module','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_default','Par défaut?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_global_info','L''habillage de tous les modules seront effacés et l''habillage par défaut sera utilisé à la place.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_StartHost','Début section webmestre','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_StartPortal','Début section portail','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','admin_menu_title','Administration du site web','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','erase','Effacer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ArticleID','ID article','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','approuve','Approuver','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','reject','Refuser','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','preview','Aperçu','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','message_de','De','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','hypHost','Réalisé par {hostname}','Footer',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','hypTerms','Conditions générales','Footer',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','hypPrivacy','Déclarations de confidentialité','Footer',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NewMP','Nouveau message dans le forum <b>{forum}</b>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ModerateForum','Forum dirigé','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Created','Crée le','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NeedF','Vous devez choisir un forum avant d''ajouter un nouveau sujet de discussion','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoGal','La galerie n''est pas configurée sur ce forum!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoGalR','Le répertoire de la galerie est introuvable, cette fonction est désactivée','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EditPost','Modifier le message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_QuotePost','Citer ce message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_QuotePostA','Citer','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PostReply','Répondre au message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PostReplyA','Répondre','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PMSShort','Raccourci','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumSearch','Recherche Forums','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_CheckMail','Me faire parvenir un courriel si un message est ajouté','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SendPMSTo','Écrire un message à','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SeeProfileof','Voir le profile de','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_VisitWWWof','Visiter le site web de','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Posted','Affiché:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PModified','Message a été modifié','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PModifiedA','Modifié','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_LastModified','(Modifié par {author} le {datetime})','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ErasePost','Effacer le message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NotAvailable','Pas disponibile présentement. S.V.P. utiliser la recherche simple','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Stats','Mise à jour stats','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsH','(heure)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UOInt','Integration User Online','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UOuse','Utiliser User Online?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalInt','Paramètres intégrés galerie','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalIntInfo','(Utiliser la configuration des paramètres de la galeries)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalHeight','Hauteur image','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalWith','Largeur image','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalImgT','Type d''image','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserName','Nom','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserRTE','Éditeur texte enrichi?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserRTEInfo','Fonctionne avec Microsoft Internet Explorer et Mozilla FireFox.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserSelectAv','Choisir avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserOwnAv','Utiliser son avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserUploadAv','Télécharger son avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Avatar','Avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Skin','Habillage','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserEmail','Adresse de courriel?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserEmailInfo','Cocher cette option pour que votre adresse de courriel soit visible et afficher aux autres usagers.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserShowUO','En ligne?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserShowUOInfo','Cocher cette option pour que votre pseudonyme soit affiché quand vous serez en ligne.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserSignature','Signature?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserTime','Fuseau horaire?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_VisitUserSite','Visiter','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SendEMailToUser','Faire parvenir un courriel à','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserProfile','Profil usager','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserProfileParam','Paramètres usager','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Select','Choisir le forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Close','Fermer','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PostPage','Message par page','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Since','Depuis','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Validated','A validé','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ModerateNotice','Avis par courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ModerateEMail','Courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserAdress','Adresse','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserCountry','Pay','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserTime0','Fuseau horaire','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvMaxS','Taille max Avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GotPMS','Vous n''avez aucun message dans votre boîte de réception','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PMSCount','Vous avez {pmscount} messages dans votre boîte de réception','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UOError','Impossible de trouver l''info sur les usagers en ligne.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Anonymous','Vous n''êtes pas incrit.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AnonymousClick','Vous pouvez vous incrire ici','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_approve','Approuver','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvDir','Répertoire Avatars','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvID','ID Module Avatars','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvInfo','Cliquer ici pour configurer la galeries des avatars!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvInfo1','auto configuration de la galerie des Avatars...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvInfo2','Vous devez créer une galerie de photos avant de pouvoir l''intéger au forum.<br>Une fois la galerie de photos créer aller dans l''option paramètres et cocher la case ""Ceci est la galerie des avatars?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AvYes','Permettre Avatars?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailYes','Paramètres avis courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailInfo','(Pour aviser les usagers des nouveaux messages le forum peut faire parvenir un courriel aux usagers)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailS','Avis courriel?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailInfo1','Permettre au forum de faire parvenir un                                     avis par courriel lors d''ajout d''un message ou modification.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailAdd','Adresse courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailInfo2','Faire paraître l''adresse de courriel personnel de l''usager dans le champ <b>de:</b> du courriel sortant sinon utiliser l''adresse automatique:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailAut','Adresse automatique','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailDom','Domaine courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EMailFormat','Format courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumFormat','Paramètres d''affichage','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ThreadP','Fils par page','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Validate','Valider','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PostDate','Date','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AddNewThread','Ajouter un nouveau fil de discussion','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Moderators','Modérateurs forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Remove','Enlever','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SeeDetails','Voir détails ...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Deleted','Le message a été supprimé par {authorName} le :','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_RE','Re:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NeedObject','Un message doit avoir un sujet','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdModerate','Diriger','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SelectIcon','Choisir émoticon','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoConfig','Impossible de trouver la configuration de la galerie des avatars','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Stats24','Dans les derniers 24 heures','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsMost','Le fil de discussion le plus vue est','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsMostPost','Le fil de discussion avec le plus de messages est','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsTop10','Les 10 usagers les plus actifs sont','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsUser','usagers ont contribués','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsNThread','fils de discussions et','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsNPost','messages ont été ajoutés.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsNewThread','nouveaux fils de discussions et','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsNewPost','nouveaux messages.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SubForum','Abonnement forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SubParamEMail','Paramètres avis courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SubParamEMailInfo','(Vous serez aviser par courriel des nouveaux messages selon les abonnements que vous ferez.)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Subscribe','S''abonner','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UnSubscribe','Annuler l''abonnement...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Audit','Audit','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AdminUser','Admin usagers forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserID','ID usager','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_lnkProfile','Voir profil','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserCode','Code d''accès','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserAlias','Pseudonyme','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserMode','Modérateur','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserThread','Suivre fils discussions?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserPMS','Messagerie?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserTrust','Confiance?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserWork','Travail','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserInterest','Champs d''intérêts','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserInfoUser','Information usager','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserEmail0','Courriel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserURL','URL','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserMSN','MSN','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserYAHOO','YAHOO','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserAIM','AIM','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserICQ','ICQ','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserStats','Statistiques','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SendEMailTo','Faire parvenir un message à','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Contributed','{username} a contribué {numpost} messages.  Dernier message écrit le {datelast}.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_LocalTime','heure locale','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoAvrRep','Impossible de trouver le répertoire des avatars, cette fonctions n''est pas activée','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SelectAvatar','<Choisir Avatar>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AliasUsed','Le pseudonyme est déjà  utilisé par un autre usager','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_FileNameUsed','Ce nom de fichier est déjà  utilisé, veuillez en choissier un autre','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoSpaceLeft','Aucune espace disque de disponible, contacter le webmestre','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ClickToModProfile','Cliquer ici pour modifier votre profil usager pour le forum...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EditMode','Mode édition','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_cmdAdmin','Admin','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ImgDir','Répertoire Images','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GoToPMS','Aller dans la messagerie','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserSelect','Choisir usager','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NewMessages','Nouveau(x) message(s)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NewMessages0','Nouveau(x)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoNewMessage','Aucun nouveau message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoNewMessage0','Aucun nouveau','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_none','Aucun','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoPost','Aucun résultat','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoUser','Aucun usager trouvé!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoUserFound','Le nom du destinataire n''existe pas, en choisir un autre!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SearchResult','Resultats recherche','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PostFrom','Message de','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_DeletedBy','Sujet du message {object} Le message a été supprimé par {authorName}','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_CountForumGroup','{forumscount} forums dans {groupscount} sections','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_sThread','Fil de discussion','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SBy','Débuté par','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Answer','Réponses','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Seen','Vues','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Prev','Précédent','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Next','Prochain','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoThread','Aucun fil de discussion','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Paging','Page {pagenum} de {numpage}','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PinnedPost','Message important','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Pinned','Important','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AThread','Fils de discussion très actif!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_aAThread','Actif','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AThread0','Fil de discussion actif','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_aAThread0','Normal','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Page','Page:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NewPost','Nouveau fil de discussion','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NewPostA','Nouveau','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EditYPost','Modifier votre message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_EditYPostA','Modifier','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Who','par','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_PostSubject','Fil de discussion:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NoMessage','Aucun message dans ce fil de discussion','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Auteur','Auteur','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Object','Sujet','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ToSee','Message à voir?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AddImo','Ajouter émoticon','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Image','Image','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_RNotice','Avis de réponses','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Preview','Aperçu du message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Saving','un instant, je sauvegarde!!!!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_From','Auteur','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Message','Message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AdminModerate','Admin forum dirigé','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdPMS','Messagerie','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdProfile','Préférences','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdSubscribe','S''abonner','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdSearch','Recherche','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdHome','Accueil','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdNewTopic','Nouveau','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Search1','Rechercher ici','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Search','Rechercher tout','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_FlatView','Vue à plat','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_TreeView','Vue par arbre','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Group','Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Thread','Fils de discussions','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Post','Messages','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_LPost','Dernier message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GroupAdmin','Admin forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumSetting','Paramètres globaux','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UserAdmin','Admin. usagers','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumAdmin','Admin. forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ModerateAdmin','Admin. forum dirigé','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Home','Accueil forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AdminParam','Paramètres du forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumID','ID Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Active','Actif','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumName','Nom Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumGroup','Section','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Desc','Description','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_CreatedBy','Creé par','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Private','Privé?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AuthRoles','Autorisation','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Moderated','Dirigé?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalleryParam','Paramètres de galarie','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalleryParam1','utiliser la gestion des paramètres de la galerie','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalleryParam2','Intégration galerie?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalleryParam3','ID galerie','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GalleryParam4','Nom album','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ReturnMod','Revenir à la page de gestion dirigée...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SelectAction','<Choisir une action>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ForumGroupS','Section forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Cancel','Annuler','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Edit','Modifier','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Up','Haut','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Down','Bas','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AddNewForum','Ajouter un nouveau forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Add','Ajouter','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_AddNewGroup','Ajouter une nouvelle section','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Up1','Monter d''un niveau','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Down1','Baisser d''un niveau','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Expand','Ouvrir','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GroupName','Nom de la section','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_GroupID','ID Section','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_NumberOf_F','Nombre de forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ListOf_F','Liste des forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_CreatedOn','le','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Groups','Forums','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_StatsForum','Statistiques forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_WhoThere','Qui est la','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','PrivateMessages','Messagerie','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FZuserMSN','MSN','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FZuserYAHOO','YAHOO','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_btnAddTip','Ajouter à la liste pour télécharger le fichier indiqué ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_btnAddAlt','Ajouter','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FileInfo1','<FONT color=#000080>
Il y a <b>{FileItemsCount}</b> fichiers <b>{SubAlbumItems}</b> sous albums dans ce dossier.</FONT><br>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FileOE','Erreur: Il a été impossible d''ouvrir cet item','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FileOEN','Il y a déjà un fichier avec le même nom. Renommer votre fichier avant d''essayer de le télécharger à nouveau!','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Add','Ajouter','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AddF','Ajouter un album à : {folderURL}','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AddFF','Ajouter un ou des fichiers à l''album : {folderURL}','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_EditFile','Modifier fichier','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Loading','Chargement.. du diaporama ......','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Prev','Voir l''image précédente...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Next','Voir l''image suivante...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgInfo','Image {imgnum} de {albumnum} {imgname} ({imgsize}KB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_NoImage','Il n''y a aucune image dans l''album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Page','Page:','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_NoFile','Il n''y a aucun fichier!','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Prev0','&laquo;','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Next0','&raquo;','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_NoConfig','Il n''y a pas de configuration de galerie pour ce module!','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Click','Cliquer ici...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_NoSpaceLeft','Vous n''avez plus d''espace disque de disponible pour télécharger ce fichier.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_QuotaInfo2','<br>Vous n''avez plus d''espace disque Album de disponible pour télécharger des fichiers.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_PortalQuota2','<br>Vous n''avez plus d''espace disque Portail de disponible pour télécharger des fichiers.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_PortalQuota1','Espace Portail ( Maximum: <b>{Quota}MB</b>  Utilisée: <b>{SpaceUsed}MB</b>  Disponible: <b>{SpaceLeft}MB</b>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_PortalQuota','Espace Portail ( Utilisée: <b>{SpaceUsed} MB</b> )','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_InfoPre','Présentation {start} - {end} de {total} item(s) total','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AlbumAdd','Le nouvel album a été ajouté','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AlbumNo','Le nom du nouveau répertoire ne doit pas contenir de caractère accentué ou de ponctuation','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AlbumExist','L''album existe déjà, veuillez utiliser un autre nom','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Clear','Rafraîchir l''affichage de la galerie...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Admin','Paramètres de configuration de la galerie...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SetUp','Paramètres','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Admin1','Ajouter un image/album...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SetUp1','Modifier Albums/Images','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Browser','Voir cet album en mode furetage...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_BrowserLink','Fureteur','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_show','Voir cet album en mode diaporama...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_showLink','Diaporama','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_lnkshow','Voir diaporama...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Dis','Discussion dans le forum...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_EditRes','Modifier Icon ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Edit','Modifier...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SOwner','Choisir le propriétaire de la galerie...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_UpdateConf','Mettre à jour la configuration...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Select','Choisir','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SetUpAdmin','Paramètres Admin','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgBaseUrl','URL souche (images)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Quota','Quota en (MB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_QuotaTip','Quota de l''album en (MB), 0=pas de limite','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_MaxFile','Taille Max d''un fichier','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_KB','(KB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgChangeSize','Modifier la taille de l''image','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgRatioInfo','l''images sera sauvegarder avec le même ratio hauteur/largeur que l''originale','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgQual','Qualité','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgQualInfo','S''applique seulement au fichier jpg, 20 = fichier plus petit 80 = fichier plus volumineux','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgMaxH','Hauteur Max','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgMaxW','Largeur Max','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgKeepS','Garder source?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ImgKeepP','Garder privé?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Prop','Propriétaire','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SelectProp','Choisir propriétaire','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_CacheS','Mettre en cache au départ','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_UserParam','Paramètres usager de la galerie','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Title','Titre de la galerie','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Desc','Description','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_TxtOp','Option d''affichage du texte','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_IntF','Intégration au forum?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SelF','Choisir une section du forum','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_IntFF','Intégration','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ThumbsW','# miniature de large','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ThumbsH','# miniature de haut','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_MThumbsW','Largeur Max miniature','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_MThumbsH','Hauteur Max miniature','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_CatV','Valeurs catégorie','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ExtVF','Extensions fichiers','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ExtM','Extensions films','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_DiaS','Vitesse diaporama','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_PopDia','POPup diaporama?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AllowD','Permettre téléchargement?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AgAL','Ceci est la galerie des avatars?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ModG','Modifier galerie','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ModA','Modifier album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_URL','URL','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Name','Nom','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_TitleI','Titre','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Cat','Catégories','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SaveA','Sauvegarder l''album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Cancel','Annuler sans sauvegarder et revenir à l''album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FileType','Types fichier','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_File','Fichier','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FileUpInfo','Fichiers à ajouter, pour compléter vous devez cliquer sur le bouton <b>télécharger</b>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Album','Album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AddFolder','Ajouter Album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AddFolderTip','Cliquer ici pour ajouter un nouveau répertoire à votre album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AddFile','Ajouter fichier','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_AddFileTip','Cliquer ici pour ajouter un nouveau fichier à votre album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Private','Galerie privée','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_CancelTip','Revenir à l''album photo sans sauvegarder','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_UpdateTip','Sauvegarder les modifications et revenir à l''album photo','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Refuse','Ceci est une galerie privée.  Seulement le propriétaire de cette galerie peut la modifier ou faire des changements. <br>Contacter le webmestre pour plus d''information','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FileInfo','<FONT color=#000080>
* Zip<br>
* Image: {fileext}<br>
* Movie: {movieext}<br>
* Flash: .swf <br>
* Taille Max: {MaxFileSize} KB <br>
</FONT>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Items','Items','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_QuotaInfo','Espace Album ( Utilisée: <b>{SpaceUsed} MB</b> )','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_QuotaInfo1','Espace Album ( Maximum: <b>{Quota}MB</b>  Utilisée: <b>{SpaceUsed}MB</b>  Disponible: <b>{SpaceLeft}MB</b>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ErrorDir','Vous pouvez seulement spécifier un répertoire dans votre portail','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ErrorF','Vous devez vous assurer qu''il y a une ou des sections de forums de créer ansi que des forums avant de faire une intégration','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SelectF','<Choisir Forum>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_SelectA','<Choisir album>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ErrorSelectAF','Vous devez choisir une forum ainsi qu''un album pour l''integration','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_ErrorSelectL','Vous devez choisir une integration avec la liste','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Dim','Dimension','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FFlash','Fichier Flash','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_FFilm','Film','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_DefaultCategory','Image;Film;Musique;Flash','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','True','Vrai','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','False','Faux','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_clicktodel','Cliquer ici pour effacer la langue ->','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','language_del','Effacer une langue','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ScriptGenerated','Fichier script sql généré:','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_ShowParam','Paramètres d''affichage du module','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_ShowInfo','Afficher l''information sur le module','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_HideInfo','Cacher l''information sur le module','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_ParamModif','Modifier les paramètres du module','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_UpToolTip','Déplacer le module vers le haut','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_DownToolTip','Déplacer le module vers le bas','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_LeftToolTip','Déplacer le module vers la gauche','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_RightToolTip','Déplacer le module vers la droite','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_CacheToolTip','Pour actualiser l''affichage du module et effacer l''antémémoire.','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_CacheModToolTip','Pour actualiser l''affichage et effacer l''antémémoire du module.','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_CacheModToolTip0','Pour actualiser l''affichage et effacer les antémémoires du module.','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_Dec','Réduire','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','title_Inc','Agrandir','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail2','si vous désirez lire vos messages vous devez cliquer sur cet icône','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail3','messages','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail4','message','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail5','Vous devez cliquer sur cet icône pour avoir accès à la messagerie','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','banner_ClickProfile','Cliquer ici pour faire une recherche pour trouver un usager ou pour modifier votre profil','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail','vous avez','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail0','nouveau message','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Banner_Mail1','nouveaux messages','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NewMessage','Nouveau message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_OldMessage','Déjà lu','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_BadUserID','Le numéro usager est invalide','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_NoMessage','Aucun message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_erase','Effacer tous les messages sélectionnés','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_default_info','Pour sauvegarder cette habillage comme celui par défaut pour le site, donc cette habillage sera utilisé lorsqu''il n''y aura pas d''habillage de définie pour un module.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_global','Global?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_move_to_tab','Déplacer vers la page','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_error1','Vous devez avoir [MODULE] dans la définition de l''habillage.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_contener_error2','Une erreur de code HTML existe dans le container','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_non_authorized','Visiteurs anonymes','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_all_users','Tous','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_visibleinfo','Utiliser seulement si la page n''a pas de dépendance','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_visible','Visible?','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_skin','fichier mise en forme','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_tabname','Nom de la page','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_icone','Icône','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_parenttab','Page parente','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_css','fichier CSS','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_editcss','Modifier CSS','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_editcssinfo','Modifier les paramêtre du fichier CSS','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_editskin','Modifier SKIN','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_editskininfo','Modifier les paramêtre du fichier mise en forme','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_editmenuparam','Modifier paramètres menu','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_tabtemplate','Gabarit de la page','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_disableinfo','L''option du menu de la page sera vide','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_disable','Désactivé l''hyperlien?','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_tableleftwidth','Largeur volet gauche','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_tablerightwidth','Largeur volet droite','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_TabAdminRole','Modifier','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ts_TabViewRole','Voir','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_fax','Fax','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_Email','Courriel','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','address_WebSite','Siteweb','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Demo_Create_Portal','{PortalName} vous offre la possibilité de créer un site web avec {space} d''espace disque pour un période d''essais de {days} jours.  À tout moment si vous désirez avoir de l''aide ou plus d''information S.V.P. me contacter par courriel {AdministratorEmail}','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mail_Add_File','Joindre un fichier','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mail_Portal_Role','Profil','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mail_Info','<strong>Note:</strong> Le courriel sera expédié en texte ou Html selon l''option.','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mail_Send','Envoyer le courriel','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mail_Send_Again','Faire parvenir d''autre courriel','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mail_Send_To','Le courriel a été expédié:','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Cmd_Reload','Actualiser','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','New_Directory','Nouveau','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FileExtNotAllowed','<br>L''extension du fichier {fileext} n''est pas autorisé.<br>Vous pouvez seulement utiliser les extensions suivantes :<br>{allowedext}','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UnZipFile','Décompresser le fichier ZIP?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Account_Mod','Modification dossier','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Bad_IPTXT','Tentative d''intrusion par IP : {0}
Url de : {1}
Url demandé : {2}
User Agent : {3}
User ID : {4}
L''adresse IP sera bloqué pour une heure','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Bad_IP','Tentative d''intrusion','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Register_request','Demande d''adhésion','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Reset_PasswordTXT','Cher {0},

Votre mot de passe a été modifié a cause d''une difficulté cryptographique du système.
Nous vous demandons d''utiliser les informations suivantes lors de votre prochaine visite:
Adresse web portail:{1}
Code d''accès:       {2}
Mot de passe:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Member_Quit','adhésion révoquée','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Mod_Password','Mot de passe modifié','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Email_Test','test de la configuration du courriel','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Demo_Portal','portail web de démonstration','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','New_Portal','nouveau site web','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Password_Notice','Votre mot de passe pour','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_request','Demande d''un fournisseur','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','PMS_message','Message sur','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_NewMessage','Nouveau message:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_message','Message en attente d''approbation:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_approved','Message approuvé:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_refused','Message refusé par modérateur:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_erased','Message effacé par modérateur:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_NewMessageTXT','Un nouveau message de <b>{0}</b><br>est disponible dans le forum <b>{1}</b>.<br>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_ModMessageTXT','Le message <b>{0}</b> a été modifié par <b>{1}</b><br>dans le forum <b>{2}</b>.<br>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_ReplayMessageTXT','Une réponse au message <b>{0}</b><br>a été fait par <b>{1}</b><br>dans le forum <b>{2}</b>.<br>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_BodyMessageTXT','<b>Sujet: {0}</b><br><b>Message:</b><br>{1}<br>Cliquer<a href="{2}"><b> ici </b></a>pour aller lire ce message.','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_messageTXT','Un nouveau fil de discussion a été créé <b>{0}</b> dans le forum <b>{1}</b>.<br>pour votre approbation.<br>Cliquer <a href="{2}">ici</a> pour aller au forum."','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_approvedTXT','A {0}<br>vous avez sauvegardé ce message : <b>{1}</b> dans le forum <b>{2}</b>.<br>Ce forum est dirigé.<br>Ce courriel est pour vous informer que votre message est <b>approuvé</b> à {3}<br><br>Merci de votre participation du personnel de <br><b>{4}</b>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Moderated_refusedTXT','A {0}<br>Vous avez créé un nouveau message : <b>{1}</b> dans le forum <b>{2}</b>.<br>Ce forum est dirigé.<br>Ce courriel est pour vous informer que votre message est <b>refusé</b> à {3}<br><br>Merci de votre participation du personnel de <b>{4}</b>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteLogOff','Le webmestre a désactivé cette fonction pour votre portail.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteLogLimited','Le webmestre a limité à {days} jours d''information d''utilisation.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Portal_Expired','L''entente d''hébergement pour le site web {PortalName} prend fin le {ExpiryDate}. Pour plus d''information {AdministratorEmail}.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Need_Directory_Name','Vous devez saisir un nom pour créer un nouveau répertoire','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_integer','Vous devez utiliser un nombre valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_decimal','Vous devez utiliser un nombre avec décimal valide','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Valid_Date_Format','Vous devez utiliser un format de date valide tel que AAAA/MM/JJ','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Valid_Boolean','Vous devez utiliser une valeur True/False seulement','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FeedBack_Mail_Send','Votre message a été envoyé','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FeedBack_New_Add','Veuillez nous indiquer votre adresse de courriel','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_New_Folder','Créer un nouveau dossier','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Upload','Télécharger fichier(s) dans ce dossier','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Download','Télécharger les fichier(s)','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_delete','Supprimer fichier(s)/Dossier(s)','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Rename','Renommer ce fichier/dossier','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Header_Mod','Modifié le','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Header_Created','Créé le','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Header_Size','Taille','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_cmdSynchronize','Mettre à jour la basse de donné','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Upload_Auth','Autorisation de télécharger','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Update','Mettre à jour les autorisations de télécharger','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Refresh','Actualiser','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','WriteError','Le fichier n''a pas été sauvegarder.  Assurez vous d''avoir l''accès écriture au répertoire.','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ParentDir','Dossier parent','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Header_Type','Type','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Header_Name','Nom','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Directory','Répertoire','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_FileName','Fichier:','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_btnUpload','Télécharger','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UploadInDirec','Le téléchargement des fichiers se fera dans le répertoire :','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UploadFile','Télécharger fichier','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UploadFileList','Premier fichier','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdRemove','Effacer','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_UnzipFile','Décompresser fichier ZIP?','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Quote_Wrote','a écrit','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ToLarge','Le fichier doit être moins de {maxFileSize} KB.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Stiky','Message à voir','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Today','Aujourd''hui','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_Bad_Ext','Seulement les fichiers {fileext} sont autorisés.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_MaxImage','L''image ne peut être plus que {maxHeight} x {maxWidth} pixels.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SearchSummary','Search Summary','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FZpage','Page','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_MaxFileSize','La taille du fichier doit être moins de {MaxFileSize} (KB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_Invalid_FileType','Le type de fichier est invalide','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Membership_Serv','Services aux membres','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MailSend','le courriel a été envoyé','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_HostName','Titre du serveur d''hébergement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_URLHost','URL du serveur d''hébergement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_EmailHost','Courriel du serveur d''hébergement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_TimeHost','Heure du serveur','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_TimeZoneHost','Fuseau Horaire du serveur','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_ViewState','Gestion du ViewState','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_HTMLClean','Réduction de la page web','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_Paiement','Méthode de paiement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_PaiementCode','Code d''accès fournisseur paiement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_PaiementPassword','Mot de passe fournisseur paiement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_HostFee','Frais d''hébergement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_Currency','Devise','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_PortalSpace','Espace&nbsp;( MB)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_SiteLog','Journal d''utilisation (jours)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_DemoPeriod','Période de démo&nbsp;(jours)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_DemoAllow','Permettre la création de portail démo?','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_DNZVersion','Désactivé l''affichage de la version du logiciel dans la page titre?','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_ErrorReporting','Permettre l''enregistrement&nbsp;des erreurs?','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_ErrorReportingInfo','(faire parvenir les messages d''erreur du portail à  l''adresse de courriel du serveur d''hébergement)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_PassordCrypto','Clef de chiffrage du mot de passe','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_Proxy','Serveur Proxy','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_ProxyPort','Port Proxy','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_SMTP','Paramètre du serveur SMTP','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_SMTP_Server','Serveur SMTP','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_SMTP_Code','Code usager','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_SMTP_Password','Môt Passe','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_ext_upload','Validation type de fichier pour téléchargement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_LogSQL','Voir le log de mise à jours pour la version','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_GO_Processor','Aller au site web du fournisseur de paiement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_test_email','Tester la configuration du courriel','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_NoLog','Le script n''a pas été exécuté pour cette version.','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HS_Need_Email','<br>vous devez fournir le nom de l''adresse courriel du serveur d''hébergement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HTML_ADDtxt','Ajouter du contenu...','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','RegisterMessage6','Il a été impossible de vous faire parvenir un courriel avec les informations demandées.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_Script','Script d''instalation','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_ModuleName','Nom du module','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_SRC_URL','Source bureau','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_EDIT_URL','Modifier source','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_HELP_URL','Fichier aide','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_IconeHelp','Il est recommandé d''utiliser un icône de 20px X 20px maximum','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_Bonus','Bonus?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_Module_Desc','Description du module','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_BonusTxt','Bonus','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_ModuleDescription','Description','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_Directives','*Directives','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_select_color','Choisir une couleur','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ms_SelectModuleSkin','Choisir un habillage','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','P_PortalName','Nom du portail','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','P_Alias','Alias','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','P_Users','Utilisateurs','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','P_Disk_Space','Espace disque','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','P_Host_Fee','Frais d''hébergement','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','P_EndDate','Date d''échéance','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ServicesFee','Frais de services','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Billing_Period','Période de facturation (chaque)','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Billing_Frequency','Fréquence de facturation','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Demo_Trial_Fee','Frais d''essais','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Assignation_Public','Publique?','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Assignation_Auto','Auto assignation?','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Upload','Autorisation à télécharger','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ManageRoles','Gérer les comptes','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Trial','Essai','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Expiry_Date','Date d''expiration','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Name','Nom','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Description','Description','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Frequency','Chaque','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_FrequencyP','Période','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Header_Public','Publique','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_Header_Auto','Auto','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_PortalRole','Profil de sécurité','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_ExpiryDate','Date d''expiration','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Role_AllRoles','Tous les profils','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','PersonnalInfo','Information personnelle','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Required_Info','<b>*Note:</b> Tous les champs identifiés par un astérisque (*) sont exigés.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Register_Title','fonctions de gestion d''accès','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Private_Info','<b>*Note:</b> L''adhésion au portail est privée. Le webmestre validera votre demande d''adhésion et vous informera de son acceptation par courriel.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Public_Register_info','<b>*Note:</b> L''adhésion au portail est publique. Aussitôt que votre demande d''adhésion sera complétée vous aurez accès au portail.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Verified_Register_info','<b>*Note:</b> L''adhésion au portail est vérifiée. Aussitôt que votre demande d''adhésion sera complétée, vous recevrez un courriel avec un code de validation unique.  Vous devrez utiliser ce code de validation pour entrer sur le portail la première fois.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Register_Required_Info','Tous les champs identifiés par un astérisque (*) sont exigés.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UserName_Already_Used','Vous devez choisir une autre code d''accès puisque <u>{username}</u> est déjà utilisé.<br>Choisissez un autre code d''accès.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Valid_IP_Security','Les codes IP ne sont pas valide vous devez utiliser un code entre 0.0.0.1 et 255.255.255.255','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Valid_IP_Security1','Le CODE IP de: doit être égal ou plus bas que le CODE IP à:','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Valid_IP_Saved','Code sauvegarder','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Valid_IP_Not_Saved','Code non sauvegarder','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Confirm_Password','Confirm','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_InstalPortal','Installation d''un portail&nbsp;','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_PortalType','Type de portail','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_PortalTypeParent','Parent','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_PortalTypeChild','Enfant','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_PortalName','Nom du portail','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_PortalTemplate','Gabarit','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_PortalAdmin','Paramètres de l''administrateur du portail','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_UserCode','Code d''accès','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_Password','Môt de passe','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_Email','Courriel','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_CreatePortal','Créer un portail','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_Name','Prénom','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_LastName','Nom','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','No_accent_In_Name','Le nom du portail ne doit pas contenir d''espace, de caractère accentué ou de ponctuation','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_Need_Portal_Name','Vous devez saisir un nom pour votre portail<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_Need_Names','Le nom et prénom sont nécessaire pour votre enregistrement<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_User_Name','Pour une question de sécurité nous vous demandons de choisir un codes d''accès avec un minimum de 8 lettres ou chiffres<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_Password','Pour une question de sécurité nous vous demandons de choisir un môt de passe avec un minimum de 8 lettres ou chiffres.<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_EMail','Vous devez fournir une adresse de courriel valide!<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_NameAlreadyUsed','Le nom de domaine http://{PortalAlias} est déjà utilisé.  Vous devez choisir un autre nom de sous domaine.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_NameAlreadyUsed1','Vous devez utiliser un autre nom de portail puisque celui-ci est déjà  utilisé.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_Wait','Cliquer ici si vous n''êtes pas redirigé d''ici 10 sec...','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_Title','Ajouter un nouveau portail','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SD_Title','Inscription portail démonstration','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_Wait','Un instant S.V.P.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','S_F_Wait_Info','Nous créons votre portail web. Vous allez recevoir dans les prochaine minutes un courriel avec de l''information pour entrer sur votre site web la premère fois.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Month','Mois','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Guest','Visiteur','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Renewal','- Renouvellement du Portail ( Frais de base: {HostFee} + Modules bonus: {ModuleFee} = Frais totaux: {TotalFee} )','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_SiteLogDays','Journal d''utilisation (jours)','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteSettings1','Habillage','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','chkDemoDomain','votrenom','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_LoginModuleSkin','Login','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteSettings3','Localisation','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteSettings4','PortailDémo','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteSettings5','Subscription','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_TotalPortalFee','Total frais d''hébergement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_PortalDiskSpace','Espace (MB)','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_PortalExpired','Date de fin du portail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','cmdRenew','Cliquer ici pour renouveler votre abonnement au portail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_PortalAlias','Alias portail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MS_ModuleDeleteSkin','Effacer tous les habillages des modules?','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_SiteModuleSkin','Portail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_AdminModuleSkin','Admin','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_EditModuleSkin','Edit','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GetLanguage("SS_LoginModuleSkin")','Login','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_cmdProcessor','Aller au site web fournisseur de paiement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_cmdGoogle','Soumettre l''info à Google','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SiteSettings2','Général','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Logo','Image d''entête','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Background','Image d''arrière plan','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_UserInfo','Afficher info utilisateur','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_SkinEdit','Modifier mise en forme','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_PortalCSS_Tooltip','Modifier les paramètres css pour le site web','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_TTTCSS_Tooltip','Modifier les paramètres css pour le module forum et la galerie de photos','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_PortalSkin_Tooltip','Modifier le fichier de mise en page par défaut pour le site web','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_EditSkin_Tooltip','Modifier le fichier de mise en page pour les pages administrateur','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Tigra','Modifier les paramètres pour le menu TIGRA','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Contener','Habillage pour modules','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_lnkcontainer','Aller chercher une définition d''habillage','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_ReplaceLOGO','Info à afficher en remplacement de l''entête','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Admin','Administrateur','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Email','Avis courriel','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_TimeZone','Fuseau Horaire','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_TypeRegistration','Type d''inscription','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optUserRegistration_0','Aucun','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optUserRegistration_1','Privé','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optUserRegistration_2','Publique','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optUserRegistration_3','Validé','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Vendors','Publicité&nbsp;fournisseur','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optBannerAdvertising_0','Aucun','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optBannerAdvertising_1','Site','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','optBannerAdvertising_2','Serveur','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Currency','Devise','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Processor','Méthode de paiement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Processor_Code','Code d''accès fournisseur paiement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Processor_Password','Mot de passe fournisseur paiement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Head_Language','Paramètres linguistiques de base','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Language_Default','Langue par défaut','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Language_ToUse','Langue à utiliser','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Head_Language_Info','Info spécifique pour la langue','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Mod_Info','Modifier info','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Terms_Tooltip','Modifier Conditions générales','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Terms_Text','Conditions Générales','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Privacy_Tooltip','Modifier Déclarations de confidentialité','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Privacy_Text','Déclarations de confidentialité','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Site_Title','Titre','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Site_Title_Bottom','Texte de bas de page','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Site_Keywords','Mots clés','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_txtlogin','Directives d''ouverture d''une session','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_txtRegistration','Directives d''inscriptions','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_txtSignup','Info annexé au courriel d''enregistrement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_DemoDirectives','Directives pour la création d''un portail démo','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Head_Demo','Création sous portail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Head_Demo_Allow','Permettre la création de portail démo?','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Demo_Domain','Domaine pour le Portail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_Allow_Demo_Create','Permettre la création d''un portail web','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Head_PortalInfo','Détails de l''hébergement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_PortalBasicFee','Frais de base pour l''hébergement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Label_PortalExtraFee','Frais additionnel pour les modules','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Skin_FileErased','Le fichier à été effacé','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SkinFileNoExist','Le fichier n''existe pas','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Skin_NeedForm','&lt;form&gt;&lt;/form&gt; doit être en séquence sur la page','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Skin_NeedForm2','&lt;form&gt;&lt;/form&gt; doit être présent sur la page','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Skin_NeedContentpane','{contentpane} doit être présent sur la page entre &lt;form&gt; et &lt;/form&gt;','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Skin_FileSaved','Le fichier à été sauvegardé','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Nothing_To_Do','Rien a faire','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SQL_Info','Pour exécuter un script sur cette base de donné ou une autre base de donné','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SQL_Execute','Exécuter le script','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SQL_ExecuteCMD','Exécuter requète','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Stat_ToGet','Type d''analyse','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Stat_StartDate','Date de début','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Stat_Calendar','Calendier','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Stat_EndDate','Date de fin','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Stat_Display','Voir','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Sub_Every','chaque','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FrequencyCode_D','Jour(s)','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FrequencyCode_M','Mois','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FrequencyCode_N','aucun','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FrequencyCode_O','paiement unique','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FrequencyCode_W','Semaines','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FrequencyCode_Y','Année(s)','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Generate_XML','Créer gabarie','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_Autorized','Autorisé','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ManageUserRoles','Gérer profils de sécurités','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_SecurityControl','Contrôle d''ouverture de session','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_SecurityContryCode','Code de pays','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_SecurityIPFROM','IP de','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_SecurityIPTO','IP à','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_Created_Date','Date crée','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_LastLogin_Date','Dernière visite','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_Subscribe','S''inscrire','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','U_QUIT_site','Résigner','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UO_RemovePU','Enlever usager préféré','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Users_Delete','Effacer les usagers non autorisés','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Name','Nom oriflamme','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Type','Type d''oriflamme','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Image','Image','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_URL','* URL','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Imp','Expositions','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_CPM','CPM','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_StartDate','* Date début','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_EndDate','* Date fin','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Optional','* = optionnel','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Clicks','Nombre de clicks','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_SeeClicks','Voir le registre?','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','VendorBannerInfo','Le nom de l''oriflamme apparaitra comme texte alternatif à  l''image.<br><br>Si il n''y a pas URL, une page avec les informations du fournisseur sera affichée.<br><br>Pour un nombre illimité d''exposition mettre (0).<br><br>','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','VendorBannerInfo1','Le CPM est le coût pour 1000 expositions de l''oriflamme du fournisseur.<br><br>Utiliser la date de début et la date de fin pour déterminer quand l''oriflamme apparaitra sur le site.','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Info_List','La liste des fournisseurs est utilisée dans le portail pour gérer le répertoire des services ainsi que la publicité par oriflamme.','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_cmddelete','Effacer les fournisseurs non autorisés','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Edit_Classifications','Modifier les classifications fournisseurs','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Non_Aut','Non autorisé','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_OptionsEdit','Modifier les paramètres fournisseurs','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Add','Ajouter un fournisseur','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner1','Oriflamme','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner2','Bouton (petit)','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner3','Bouton (médium)','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner4','Bouton (grand)','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner5','Très gros','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Directives','Directives d''inscriptions','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_WhoCanSubscribe','Qui peut s''inscrire?','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_WelcomeMessage','Message nouveau fournisseur','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Bussiness','Compagnie','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Fax','Fax','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_WebSite','Site Web','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_Logo','Logo','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Classification','Classifications','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_KeyWord','Mots clées','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Header_Search','Recherche','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Header_Request','Demandes','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Header_LastRequest','Denière demande','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Publicity','Publicité par oriflamme','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Banner_Add','Ajouter un oriflamme','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vender_Type','Type','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vender_URL','URL','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vender_View','Vue','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vender_Clicks','Clics','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vender_Start','Début','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vender_End','Fin','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','lnkDirections','Directions','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendors_AddName','Ajouter','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_ThankYou','Merci de votre contribution.','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Name','Nom du fournisseur','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','OK','OK','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Clear','Reset','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Selected','Sélectionné','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Highlight','Prévisualisation','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','TwoClickToSelect','Double clicks pour choisir','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Select_Color','Choisir une couleur','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Add_Icone','Insérer un icone','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Add_Image','Insérer une image','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Flash_Player','Gallery Flash Player','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Media_Player','Media Player','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Slideshow_Player','Slideshow','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Viewer_Image','Visionneuve','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','File_Exploreur','Exploreur','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','File_Exploreur_Warning','Vous avez fermé la fenètre principale.','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings1','Ajouter, Effacer','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings2','Rubrique d''aide','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings3','Rubriques générales','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Language_Edit_Param','Modification rubriques','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','*O','O','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','*N','N','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','btnLanguageEditAll','Afficher tous les rubriques','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings4','Codes Pays','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings6','Codes argent','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings7','Codes fréquences','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings8','Code rapports statistiques','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings9','Codes régions','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings10','Zones horaire','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','btnLanguageEdit','Afficher seulement les nouvelles rubriques','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageSettings5','Info modules admin','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_vertical','Vertical','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_horizontal','Horizontal','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_tester','Tester','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu3.1','Position du sous menu relatif au menu supérieur','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu4','Pour centrer le menu utiliser une valeur supérieure à 0.  Utiliser la largeur du menu pour centrer le menu dans l''écran, ou la largeur du logo (si vous centrer le logo aussi) pour que le coin gauche du menu soit aligner avec le logo','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu4.1','Le temps en milisecondes avant que le menu ouvre','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu4.2','Le temps en milisecondes avant que le menu ferme après l''avoir quitté','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_OpenClose','Ouverture/Fermeture','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Block_Top','Block_Top','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Block_Left','Block_Left','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Top','Top','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Left','Left','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Hauteur','Hauteur','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Largeur','Largeur','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Centrer','Centrer','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Ouverture','Ouverture','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Fermeture','Fermeture','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1','MENU 1er niveau','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu2','MENU 2ième niveau','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu3','MENU 3ième niveau','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1.1','Position du menu hauteur coin supérieur gauche','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1.2','Position du menu largeur coin supérieur gauche','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1.3','Différence verticale entre cellule en pixel','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1.4','Différence horizontale entre cellule en pixel','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1.5','Hauteur d''une cellule en pixel','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu1.6','Largeur d''une cellule en pixel','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','tigra_Menu2.1','Position du sous menu relatif au menu supérieur','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail3','messages','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SelectAdmin','Select administration','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Contributed','{username} contributed {numpost} posts.  The last one was {datelast}.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ModerateForum','Moderated Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsMostPost','The thread with the most posts is','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','feedback_pos','Positive','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AgAL','This is the avatars gallery?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Items','Items','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','header_when','When','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageRangeFrom','Must be between 5px to 180px max.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings1','Edit - Erase- Create','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Media_Player','Media Player','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_city_name','City name is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Nothing_To_Do','Nothing to do','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm','Do you want to erase?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_avatar','Do you want to configure the avatar gallery?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_delete_icone','Do you want to erase the icon.  A default icon will be used instead.  You will be able to download a new one later on also.','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_erase','Do you want to erase?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_erase_message','Do you want to erase this message?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_erase_role','Do you wan to erase this membership role?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_erase_userrole','Do you want to retrieve this security role to this nember?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ModuleOnly','Intérieur','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_VisitWWW','WWW','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','number_of_connections','Number of connections','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','number_of_restart','ASP.NET Restart','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','object','Subject','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','OK','OK','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FZuserMSN','MSN','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optBannerAdvertising_0','None','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optBannerAdvertising_1','Site','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optBannerAdvertising_2','Host','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optUserRegistration_0','None','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optUserRegistration_1','Private','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optUserRegistration_2','Public','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','optUserRegistration_3','Validated','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Oriflamme','Banner','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','P_Alias','Alias','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','P_Disk_Space','Disk space','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','P_EndDate','End date','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','P_Host_Fee','Hosting fee','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','P_PortalName','Portal name','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','P_Users','Users','PortalInfo',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','paramêtres','Settings','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FZuserYAHOO','YAHOO','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FZuserAIM','AIM','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FZuserICQ','ICQ','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Password_Notice','Your password pour','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','PersonnalInfo','Personal information','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','vendors_date','date','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','PMS_message','Private message on','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','vendors_date','date','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Portal_Expired','The hosting aggrement for your {PortalName} ended {ExpiryDate}. For more information {AdministratorEmail}.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Positive_Feedback','Positive feedback','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','preview','Preview','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','privacy_declaration','PRIVACY STATEMENT','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Private_Info','<b>*Note:</b> The portal registration is private. The site administrator will validate your request and will reply by E-Mail.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','PrivateMessages','Private Messages','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Public_Register_info','<b>*Note:</b> The portal registration is public. You will have access to the portal after you complete this form.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','question','Q.','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FZpage','Page','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Quote_Wrote','wrote','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SelectAdmin','Adminstration du Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SelectModerated','Select moderators','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','register_more_info','You must enter with you User Name and password. If you are already registered. <a class="CommandButton" href="{httplogin}">Enter</a> now. Otherwise, <a class="CommandButton" href="{httpregister}">Register.</a>','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','register_no','You cannot register to our service','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Register_request','Register request','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Register_Required_Info','All the fields identified with (*) are required.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Register_Title','Registration form','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage','Please enter your User Name','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage1','The user code does not exist','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage2','We send you an E-Mail with your password.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage3','Your password or User Name are not valid.  The password is case sensitive.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage4','Enter your validation code','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage5','The code is not good','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','RegisterMessage6','It was not possible to send the requested information.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','registration_ok','Registering result','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','reject','Reject','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Reply','Answer','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ModuleWrapper','Exterior','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ModuleTitle','Title','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ModuleOnly','Interior','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SendEMail','COURRIEL','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Site_Description','Site Description','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','HelpInfo','Aide','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleLatLong','Lat - Long','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_zoom','Zoom','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_erasealbum','You have {items} items in your album. Do you really want to erase them all?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Stat_StartDate','Start date','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Stat_ToGet','What report','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FZEditPost','Edit Post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Sub_Every','every','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','syndicate','Create RSS File','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','text','text','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Block_Left','Block_Left','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Block_Top','Block_Top','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Centrer','Center','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Fermeture','Closing','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Hauteur','Hight','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_help','To generate the settings necessary for a vertical menu, you will be able to change the setting on line and test the menu before saving it. To see the menu us the button <b>Test menu</b>','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_help1','To generate the settings necessary for a horizontal menu, you will be able to change the setting on line and test the menu before saving it.  To see the menu us the button <b>Test menu</b>','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_help2','Take the menu settings and created a new menu file.','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_help3','To save the menu settings.  You must click on the <b>Test menu</b> prior so saving.','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_horizontal','Horizontal','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Largeur','Width','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Left','Left','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1','MENU 1er level','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1.1','Menu position in hight from top left corner','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1.2','Menu position in width from top left corner','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1.3','Vertical difference in pixel between cells','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1.4','Horizontal difference in pixel between cells','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1.5','Cell hight in pixel','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu1.6','Cell width in pixel','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu2','MENU 2nd level','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu2.1','Menu position relative to top menu','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu3','MENU 3rd level','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu3.1','Sub menu position relative to top menu','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu4','To put the menu in the center you have to use a value higher than 0.  Use the with of the menu, or the width of the logo (if you put the logo in the middle also)','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu4.1','Time milliseconds before the menu open','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Menu4.2','Time in milliseconds before the menu close after leaving it.','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_OpenClose','Opening/Closing','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Ouverture','Opening','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_return','Return','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_tester','Test menu','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_Top','Top','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tigra_vertical','Vertical','Tigra',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_CacheModToolTip','To refresh and erase module memory caches.','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_CacheModToolTip0','To refresh and erase module memory caches.','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_CacheToolTip','To refresh and purge memory caches','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_Dec','Close','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_denied','Denied','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_DownToolTip','Move module down','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_enter','Enter','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_expired','Portal expired','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_HideInfo','Hide module information','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_KB','(KB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_lnkshow','See diaporama...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Loading','Loading the diaporama ......','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_MaxFile','Max file size','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_MaxFileSize','The file size must be less than {MaxFileSize} (KB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ModA','Edit album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ModG','Edit gallery','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_MThumbsH','Max thumb hight','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_MThumbsW','Max thumb width','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Name','Name','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Next','See next image ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Next0','&raquo;','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_NoConfig','The gallery is not setup yet!','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_NoFile','There is no file!','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_NoImage','There is not image in the album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_NoSpaceLeft','You do not have any disk space left to upload this file.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Page','Page:','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_PopDia','POPup diaporama?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_PortalQuota','Portal space ( Used: <b>{SpaceUsed} MB</b> )','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_PortalQuota1','Portal space ( Maximum: <b>{Quota}MB</b>  Used: <b>{SpaceUsed}MB</b>  Available: <b>{SpaceLeft}MB</b>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_PortalQuota2','<br>You do not have any disk space left to upload new files.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Prev','See previous image ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Prev0','&laquo;','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Private','Private gallery','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Prop','Owner','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Quota','Quota in (MB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_QuotaInfo','Album space ( Used: <b>{SpaceUsed} MB</b> )','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_QuotaInfo1','Album space ( Maximum: <b>{Quota}MB</b>  Used: <b>{SpaceUsed}MB</b>  Available: <b>{SpaceLeft}MB</b>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_QuotaInfo2','<br>You do not have any disk space left for this Album.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_QuotaTip','Album quota in (MB), 0=no limit','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Refuse','This is a private gallery.  Only the owner of the gallery can edit it. <br>You may contact the webmaster for further information.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SaveA','Save album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Select','Select','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SelectA','<Choisir album>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SelectF','<Choisir Forum>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SelectProp','Select owner','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SelF','Select a forum group','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SetUp','Settings','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SetUp1','Edit Albums/Images','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SetUpAdmin','Admin settings','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_show','See this album in diaporama ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_showLink','Diaporama','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_SOwner','Select the gallery owner ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ThumbsH','# thumbs high','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ThumbsW','# thumbs width','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Title','Gallery title','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_TitleI','Title','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_TxtOp','Text format options','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_UpdateConf','Update the configuration...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_UpdateTip','Save modifications and return to the photo album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_URL','URL','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_UserParam','Gallery users settings','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','gauche','Left','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Generate_XML','Create a template','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GetLanguage("SS_LoginModuleSkin")','Login','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','go','Go','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','haut','Up','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','header_date','Date','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','header_size','(KB)','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','header_title','Title','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','header_what','What','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Album','Album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AlbumAdd','The new album was added.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AlbumExist','The album already exist!  Please use another name.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AlbumNo','Only use letter in the directory name.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AllowD','Allow uploads?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Browser','See this album in browsing mode ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_BrowserLink','Browser','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_btnAddAlt','Add','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_btnAddTip','Add this file to the upload list ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_CacheGen','Creating the gallery ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_CacheRed','If this page does not redirect you automtically,','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_CacheS','Put the gallery in memory cashes.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Cancel','Cancel without saving and return to the album.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_CancelTip','Return to the album without saving.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Cat','Cathegory','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_CatV','Category','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Clear','Refresh the gallery ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Click','Click here ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Cont','Click to continue ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_DefaultCategory','Image;Film;Musique;Flash','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Desc','Description','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_DiaS','Diaporama speed','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Dim','Dimension','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Dis','Discuss in forum...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Edit','Edit ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_EditFile','Edit file','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_EditRes','Edit Icon ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ErrorDir','The directory must be within your portal.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ErrorF','You must make sure that a forum group and a forum is created before attempting to integrate a gallery.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ErrorSelectAF','You have to select a forum and an album for the integration.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ErrorSelectL','Select an album from the list.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ExtM','Films extensions','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ExtVF','Files extensions','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FFilm','Film','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FFlash','Flash file','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_File','File','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FileInfo','<FONT color=#000080>
* Zip<br>
* Image: {fileext}<br>
* Movie: {movieext}<br>
* Flash: .swf <br>
* Max Size: {MaxFileSize} KB <br>
</FONT>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FileInfo1','<FONT color=#000080>
There are <b>{FileItemsCount}</b> files <b>{SubAlbumItems}</b> sub-albums in this directory.</FONT><br>','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FileOE','Error: It was impossible to open the item.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FileOEN','There is already a file with the same name!  Please try to upload again with a new name.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FileType','File size','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_FileUpInfo','Files to add, Click <b>upload</b> button to complete.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgBaseUrl','Base URL (images)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgChangeSize','Edit the image size','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgInfo','Image {imgnum} of {albumnum} {imgname} ({imgsize}KB)','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgKeepP','Keep private?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgKeepS','Keep source?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgMaxH','Max hight','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgMaxW','Max width','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgQual','Quality','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgQualInfo','Will only compress jpg file, 20 = smaller file size 80 = larger file size','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_ImgRatioInfo','The image will be saved with the same aspect ratio than the original.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_InfoPre','Showing {start} - {end} of {total} item(s) total','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_IntF','Integrate the album to the forum?','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_IntFF','Integrate','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Invalid_FileType','The file type is not valid.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Site_Help','Help','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','File_Exploreur','File Exploreur','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','File_Exploreur_Warning','You closed the maim window.','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','file_link','File link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FileExtNotAllowed','<br>This type of file {fileext} is not allowed on the portal.<br>You may only use the following file type :<br>{allowedext}','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','filemanager_security','<p>Your security profile does not allow you access to this page.</p><p>If you think you should be allowed access <b>please make a request to the webmaster of {PortalName} </b>','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','filemanager_security1','{AdministratorEmail}<img src="/images/uoUnreadPriv.gif" border="0" height="10" width="14" alt="courriel" Title="Click here to request permission"></a></p>','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','filemanager_security2','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=button value="Close" onClick="javascript:window.close();">','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Flash_Player','Gallery Flash Player','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_Site_Description','Description en','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_BodyMessageTXT','<b>Subject: {0}</b><br><b>Message:</b><br>{1}<br>Click<a href="{2}"><b> here </b></a>to go read this message.','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_approved','Post approuver:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_erased','Post erased by moderator:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_message','Post waiting for approval:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_messageTXT','A new thread was started <b>{0}</b> in the forum <b>{1}</b>.<br>for your approuval.<br>Click <a href="{2}">here</a> to go to the forum.','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_refused','Post refused by moderator:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_ModMessageTXT','The message <b>{0}</b> was modified by <b>{1}</b><br> in the forum <b>{2}</b>.<br>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_approvedTXT','To {0}<br>you saved this message : <b>{1}</b> in the forum <b>{2}</b>.<br>This forum is moderated.<br>The E-Mail is to inform you that your message was <b>approuved</b> the {3}<br><br>Thank your for your contribution from <br><b>{4}</b>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_Moderated_refusedTXT','To {0}<br>You saved a new post : <b>{1}</b> in the forum <b>{2}</b>.<br>The forum est moderated.<br>This E-Mail is to advise your that your message was <b>refused</b> the {3}<br><br>Thank you for your participation from <b>{4}</b>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_NewMessage','New Post:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_NewMessageTXT','A new post from <b>{0}</b><br>is available in forum <b>{1}</b>.<br>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Forum_ReplayMessageTXT','A reply to the post <b>{0}</b><br>was made by <b>{1}</b><br>in the forum <b>{2}</b>.<br>','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','free_memory','Available memory','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FrequencyCode_D','Day','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FrequencyCode_M','Month','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FrequencyCode_N','None','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FrequencyCode_O','Once','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FrequencyCode_W','Week','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FrequencyCode_Y','Year','Subscription',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Add','Add','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AddF','Add an album to : {folderURL}','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AddFF','Add some files to the album : {folderURL}','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AddFile','Add file','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AddFileTip','Click here to add a new file to the album.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AddFolder','Add Album','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_AddFolderTip','Click here to add a new directory to the album.','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Admin','Gallery configuration settings ...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_Admin1','Add an image/album...','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsNewPost','new posts.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsNewThread','new thread and','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsNPost','posts were added','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsNThread','threads and','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsTop10','The 10 most active users are','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsUser','users contributed to','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_sThread','Thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Stiky','To see','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SubForum','Forum subscription','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SubParamEMail','E-Mail notice settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SubParamEMailInfo','(You will be advised by E-Mail of new messages posted in the forum you subscribed.)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Subscribe','Subscribe','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Thread','Threads','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ThreadP','Thread per page','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Today','Today','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ToLarge','The file must be smaller than {maxFileSize} KB.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ToSee','Pin this message?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_TreeView','Tree view','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UnSubscribe','Cancel the subscription...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UnzipFile','Decompress ZIP ?','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UOError','It was impossible to find the info the Users Online.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UOInt','User Online integration','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UOuse','Use User Online?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Up','Up','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Up1','Up one level','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Update','Update the upload permissions','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Upload','Upload files(s) in this directory','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Upload_Auth','Upload authorisation','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UploadFile','Upload','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UploadFileList','First file','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UploadInDirec','The files will be uploaded in directory :','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserAdmin','Admin. users','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserAdress','Addresse','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserAIM','AIM','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserAlias','Alias','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserCode','User Code','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserCountry','Country','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserEmail','E-Mail addresse?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserEmail0','E-Mail','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserEmailInfo','Select this option to show your E-Mail in your profile.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserICQ','ICQ','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserID','ID user','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserInfoUser','User info','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserInterest','Hobbies','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserMode','Moderator','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserMSN','MSN','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserName','Name','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserOwnAv','Use your avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UserInfoModule','Users information','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserPMS','Private messages?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserProfile','User profile','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserProfileParam','User settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserRTE','Rich Text Editor?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserRTEInfo','Word with Firefox and Explorer.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserSelect','Select a user','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserSelectAv','Select an avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserShowUO','On line?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserShowUOInfo','Select this option to show when you are online.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserSignature','Signature?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserStats','Statistics','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserThread','Follow thread?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserTime','Time Zone?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserTime0','Time Zone','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserTrust','Trusted User?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserUploadAv','Upload your avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserURL','URL','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserWork','Work','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_UserYAHOO','YAHOO','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Validate','Validate','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Validated','To check','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_VisitUserSite','Visit','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_VisitWWWof','Visit the web site of','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Who','by','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_WhoThere','Who''s there','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','False','False','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FeedBack_Mail_Send','The E-Mail was send','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','feedback_neg','Negatif','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FeedBack_New_Add','Please indicate your E-Mail address','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ModerateNotice','E-Mail notice','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Moderators','Forum Moderators','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NeedF','You must select a forum before posting a new thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NeedObject','Need an object','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_New_Folder','Create a new directory','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NewMessages','New message(s)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NewMessages0','New','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NewMP','New message in <b>{forum}</b>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NewPost','New thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NewPostA','New','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Next','Next','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoAvrRep','It was impossible to find the directory for the avatars, this option is not available','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoConfig','It was impossible to find the settings for the avatars gallery!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoGal','The Gallery is not setup for this forum!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoGalR','The gallery directory cannot be found, this option is not available','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoMessage','No message in the thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_none','None','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoNewMessage','No new message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoNewMessage0','No new','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoPost','No post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoSpaceLeft','There is not space left, please contact the webmaster.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NotAvailable','Not available at this time use a simple search','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoThread','No thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoUser','No user found!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NoUserFound','The user does not exist please select another one!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_NumberOf_F','Number of forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Object','Subject','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Page','Page:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Paging','Page {pagenum} of {numpage}','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ParentDir','Parent directory','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Pinned','Pinned','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PinnedPost','Important Post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PModified','Post was modified','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PModifiedA','Modified','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PMSCount','You have {pmscount} messages in your inbox','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PMSShort','Short cut','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Post','Posts','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PostDate','Date','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Posted','Posted:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PostFrom','Post from','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PostPage','Post per page','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PostReply','Answer to the post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PostReplyA','Answer','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_PostSubject','Subject:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Prev','Previous','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Preview','Post preview','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Private','Private?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_QuotePost','Quote this post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_QuotePostA','Quote','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_RE','Re:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Refresh','Refresh','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Remove','Remove','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Rename','Rename the file or directory','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ReturnMod','Return to the moderator admin page...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_RNotice','Mail notice','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Saving','Wait I am saving your POST!!!!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SBy','Started by','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Search','Search all forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Search1','Search from here','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SearchResult','Search result','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SeeDetails','See details ...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Seen','Vues','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SeeProfileof','See profile of','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Select','Select a forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SelectAction','<Select an action>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SelectAvatar','<Select Avatar>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SelectIcon','Select a smiley','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SendEMailTo','Send a message to','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SendEMailToUser','Send an E-Mail to','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SendPMSTo','Write a message to','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Since','Since','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Skin','Skin','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Stats','Update stats','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Stats24','In the last 24 hours','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsForum','Forum Stats','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsH','(hour)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_StatsMost','The most vue thread is','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_CountForumGroup','{forumscount} forums in {groupscount} forums groups','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Created','Created the','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_CreatedBy','Created by','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_CreatedOn','the','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_delete','Erase the file or directory','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Deleted','The post was deleted by {authorName} the :','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_DeletedBy','The post : <b>{object}</b> was deleted by {authorName}','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Desc','Description','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Directory','Directory','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Down','Down','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Down1','Down one level','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Download','Download files(s)','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Edit','Edit','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EditMode','Edit mode','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EditPost','Edit the post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EditYPost','Edit your post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EditYPostA','Edit','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailAdd','E-Mail Addresse','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailAut','Automatic E-Mail','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailDom','Domain name','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailFormat','E-Mail Format','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailInfo','(The system can automatically send an E-Mail to users when a new message is posted)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailInfo1','Allow the forum to automatically send an E-Mail notice to users when a post is added or modified.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailInfo2','Show the E-Mail address in the <b>to:</b> field or use the automatic address:','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailS','E-Mail notice?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_EMailYes','E-Mail notice settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ErasePost','Erase post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Expand','Open','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_FileName','File:','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_FileNameUsed','The file name is already used, please chose another one','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_FlatView','Flat view','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumAdmin','Admin. forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumFormat','Forum format settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumGroup','Group','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumGroupS','Forum group','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumID','ID Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumName','Forum name','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumSearch','SearchForums','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ForumSetting','Global Forum settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_From','From','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalHeight','Image height','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalImgT','Image type','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalInt','Integrated gallery settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalIntInfo','(Use the gallery settings)','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalleryParam','Gallery settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalleryParam1','use the gallery settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalleryParam2','Gallery integration?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalleryParam3','ID gallery','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalleryParam4','Album name','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GalWith','Image width','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GoToPMS','Go to private messages module','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GotPMS','No new private messages','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Group','Forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GroupAdmin','Admin forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GroupID','ID Group','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_GroupName','Group name','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Groups','Forums','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Header_Created','Created the','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Header_Mod','Changed the','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Header_Name','Name','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Header_Size','Size','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Header_Type','Type','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Home','Forum home','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Image','Image','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ImgDir','Images directory','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_LastModified','(Modified by {author} the {datetime})','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ListOf_F','Forum lists','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_lnkProfile','See profile','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_LocalTime','Local time','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_LPost','Last message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_MaxImage','The maximum image size must be between {maxHeight} x {maxWidth} pixels.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Message','Post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ModerateAdmin','Admin. moderated forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Moderated','Moderated?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ModerateEMail','E-Mail','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','links_label_CSSClass','Classe CSS pour l''hyperlien','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_day','Days(s)','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_format','Show in a','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_interval','Interval','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_list','List','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_month','Month','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_week','Week (s)','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','events_year','Year(s)','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_Aperture','Diaphragm:        F','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_artist','Artist:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_copyright','Copyright:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_date_time','Date Time:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_date_time_created','Original:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_date_time_digitized','Digitized:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_date_time_last_mod','General:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_description','Description:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_equipement','Camera:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_equipement_maker','Producer:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_equipement_model','Model:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_ExposureMeteringMode','Exposure Mode:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_ExposureProgram','Exposition:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_ExposureTime','Exposure Time:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_flash','Flash:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_FocalLength','Focal:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_iso','ISO  sensitivity:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_LightSource','Light Source(WB):','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_orientation','Orientation:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_photo_param','Photo settings:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_resolution','Resolution:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_software','Software:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_SubjectDistance','Distance:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_title','Title:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exif_width_height','Dimensions:','Exif',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','exit','Exit','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','external_doc','External document','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','external_link','External link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_aAThread','Active','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_aAThread0','Normal','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Active','Active','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Add','Add','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AddImo','Add smily','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AddNewForum','Add a new forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AddNewGroup','Add a new group','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AddNewThread','Add a new post','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AdminModerate','Admin moderated forum','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AdminParam','Forum settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AdminUser','Admin forum users','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AliasUsed','This alias is already used by another user','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Anonymous','Your not registered.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AnonymousClick','You can register here','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Answer','Replies','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_approve','Approuve','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ArticleID','ID article','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AThread','Very busy thread!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AThread0','Actif thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Audit','Audit','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Auteur','Author','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AuthRoles','Autorization','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Avatar','Avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvDir','Avatars directory','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvID','ID Avatars Module','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvInfo','Click here to configure the avatar gallery!','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvInfo1','automatic configuration of the avatars gallery...','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvInfo2','You must create a photo gallery before you can integrate it the a forum.<br>Once the gallery created go to the gallery settings and check the <b>This is the avatars gallery?</b>','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvMaxS','Max size Avatar','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_AvYes','Allow Avatars?','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Bad_Ext','Only those file type {fileext} are accepted.','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_btnUpload','Upload','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Cancel','Cancel','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_CheckMail','Send me an E-Mail if a Post is added','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ClickToModProfile','Click here to edit your profile','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_Close','Close','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_cmdAdmin','Admin','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_cmdSynchronize','Update the file data base','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SQL_Connection','Mettre les informations de connection si nécessaire','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','AlternateDetailSummary','Môts clées','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ForSearchHTML','Information facultative pour la recherche','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SearchSummary','Sommaire','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Site_Help','Aide','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Vendor_Register','Inscription fournisseur','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','*N','N','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','*O','Y','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Account_Mod','Profile Modification','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','actualiser','Refresh','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','add','Add','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Add_Icone','Add a icon','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Add_Image','Add an image','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_app','App.#','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_city','City','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_country','Country','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_Email','E-Mail','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_fax','Fax','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_postal_code','Postal Code','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_postal_code_ca','Postal Code','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_postal_code_us','Zip code','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_region','Province','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_region_ca','Province','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_region_us','State','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_street','Street','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_telephone','Phone number','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','address_WebSite','Web Site','Address',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_SelectAllForum','Select all','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_add_module','Add&nbsp;a&nbsp;module','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_add_tab','Add a new page','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_clear_caches','Erase memory caches','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_edit_tab','Edit page','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_hide_info','Hide info','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_hide_option','Hide admin modules options','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_menu','Admin menu','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_menu_hide','Close the window','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_menu_title','Portal administration','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_profile','Click here to edit your profile','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_services','Click here to view the membership services','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_show_option','Show edit module options','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_StartHost','Start Host menu','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','admin_StartPortal','Start Portal menu','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','album_show_icone','Show only icons of a certain size','Album',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','all','all','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','allow_vendors_register','Allow vendors to register?','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','annuler','Cancel','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','answer','Answer :','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','approuve','Approuve','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','auto','auto','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_billing_period','The billing period is not valid','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_billing_period0','The billing period must be greater than 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Bad_IP','Hacking attempt','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Bad_IPTXT','Hacking attempt by IP : {0}
Url from : {1}
Url requested : {2}
User Agent : {3}
User ID : {4}
The IP will be bloqued for an hour','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_trial_fee','You need to have a valid trial fee','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_trial_fee0','Trial fee must be greater than 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_trial_period','The information for the trial period is not valid','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_trial_period0','Must be greater then 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_value_services','The value for the membership fee is not appropriate','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bad_value_services0','membership fee must be superior to 0','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','banner_ClickProfile','Click here to search for a user or modify your profile','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail','you have','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail0','new message','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail1','new messages','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail2','if you want to read your messages you need to click on this image','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Select_Forum_Search','Choisir un Forum ou une Section pour la recherche','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_SelectAllForum','Choisir tous les forums de la section','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_SelectAllForumGroup','Choisir tous les forums de toutes les sections','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_show_map','Voir la carte','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_show_tooltip','Afficher la carte','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_file_or_rep','Do you want to erase the files or directories?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_country_code','A country is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_country_name','The country is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_CPM_number','You need a valid CPM number','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_decimal','You need to use a valid decimal number','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_description','You need a description','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Need_Directory_Name','You need to have a valid name to create a new directory','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_email','An E-Mail is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_exposition_number','You need a valid number of expositions','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_firstname','A first name is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_help','Need help','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_integer','You need to use a valid number only','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_lastname','A name is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_location_mapquest','You need to have a location','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_module_def','Enter a new definition for the module','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_number','Need a  valid number','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_number_purchase','You need to specify the number of units you want to puchase','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_object_message','You need a title for the message','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_password','A password is required.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_password_confirm','You must validate your password.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_password_match','Your password do not match try again.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_password_minimum','You must have a password with a minimum of 8 letters or number.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_portal_name','A portal name is required.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_postal_code','The postal code is needed','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_region_code','The province is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_region_name','The province is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_role_name','You need a Role Name.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_start_date','A date is needed','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_street_name','Street name and the civic number are required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_tab_name','A name for the page is needed','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_telephone','The phone number is needed','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_title','You need a title','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_username','You need a proper username.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_username_minimum','You need to chose a username with a minimum of 8 letter and number.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_valid_description','A description is needed','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_valid_emai','The E-Mail addresse is not valid','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_valid_email','A valid E-Mail address is required.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_vendor_name','The compagny name is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Negative_Feedback','Negative feedback','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','WhiteSpace_ALL','HTML et Espace Blanc','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','New_Directory','New','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','new_message_re','RE:','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','New_Portal','New Portal','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','no','no','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','No_accent_In_Name','The portal name cannot have space or punctuation in it.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','no_module_info','There is not info available on this module.','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','noFeedback','No feedback available for this vendor','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','NoFileMessage','No file selected','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','NoFileToDeleteMessage','No file to erase','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','NoFolderFoundMessage','Error, it was impossible to find the image directory','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','NoFolderSpecifiedMessage','No directory','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','NoImagesMessage','No image','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','NoSpaceLeft','You do not have enough disk space left','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','not_a_date','Bad date!','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Member_Quit','Membership was revoqued','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Membership_Serv','Membership services','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','message_de','From','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','message_le','the','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','millisecond','Millisecond','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','minute','Minute','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mod_Password','Password changed','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','modifier','Edit','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','module_info','Module Info :','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_all_users','All users','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_Bonus','Bonus?','ModuleSetting',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_BonusTxt','Bonus','ModuleSetting',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_cache','Memory cache time (sec.)','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_cache_info','Module cache is recommanded for static module, like Text-HTML.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_center','Center','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_close','Close','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_color','Colour','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener','Module SKIN','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_default','Default?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_default_info','To make this the default SKIN for the web site.  This SKIN will be used by new module or module  without a SKIN defined.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_error1','You must have [MODULE] in the SKIN definition.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_error2','An HTML error was detected in the SKIN','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_global','Global?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_global_info','This SKIN will replace all the modules SKIN.','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_contener_setup','Align','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_custom','Personalize?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_Directives','*Directives','ModuleSetting',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_edit_contener','Edit Module SKIN','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_EDIT_URL','Edit','ModuleSetting',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_HELP_URL','Help','ModuleSetting',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_icone','Icone','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_icone_info','You should use an icone of  20px X 20px maximum','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_IconeHelp','Max size recommanded is  20px X 20px','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_language','Language','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_left','Left','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_margin','Border','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_mod','Edit privileges','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_Module_Desc','Module description','ModuleSetting',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_ModuleDeleteSkin','Erase all the modules SKINS?','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_ModuleDescription','Description','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_ModuleName','Module name','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_move_to_tab','Move to tab','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_non_authorized','Anonymous users','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_none','None','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_open','Open','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_right','Right','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_Script','Installation Script','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_see','See','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_see_info','Will overide the page setting if différent','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_select_color','Select a Colour','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_SelectModuleSkin','Select a SKIN','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_show_title','Show Module Title?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_showall_tabs','Show this module on all pages?','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MS_SRC_URL','Desktop','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ms_title','Title','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Name','Name','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_a_valide_name','You need a valid name','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_alt','An alternate text is required','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_banner_name','You need a name for the banner','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_body_message','You need to have some text un the message!','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vender_URL','URL','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vender_View','Vues','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Add','Add a banner','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_CPM','CPM','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_EndDate','* End date','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Image','Image','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Imp','Impressions','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Name','Name of banner','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Optional','* = optional','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Publicity','Publicity by Banner','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_StartDate','* Start date','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_Type','Banner type','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner_URL','* URL','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner1','Banner','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner2','Button (small)','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner3','Button (medium)','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner4','Button (large)','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Banner5','Very large','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Classification','Classifications','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Header_LastRequest','Last request','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Header_Request','Request','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Header_Search','Search','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_KeyWord','Key word','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Name','Vendor name','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Non_Aut','Non authorized','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_request','Vendor request','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_ThankYou','Thank you for your contribution.','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','VendorBannerInfo','The name of the banner will appear has an alternate text for the image.<br><br>If there is not URL info about the vendor will appear instead.<br><br>For an unlimited number of exposition put (0).<br><br>','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','VendorBannerInfo1','The CPM is the cost for 1000 expositions of the banner.<br><br>Select a start an end date to set a specific period when the banner will be displayed.','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_SelectAllForumGroup','Select all forum groups','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Add','Add a vendor','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_AddName','Add','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Bussiness','Compagny','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Clicks','Numbers of clicks','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_cmddelete','Erase non authorized vendors','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Directives','Registering directives','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Edit_Classifications','Edit vendors classifications','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Fax','Fax','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Info_List','The vendors list is used to manage vendors services and vendors banner publicity.','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_Logo','Logo','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','vendors_message_feedback1','You must be a member to write a feedback.<br>','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','vendors_message_feedback2','If you are not already a member, you can register here. <b><a href=" {httpregister}">Register</a></b>.<br><br>','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_OptionsEdit','Edit vendors options','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_SeeClicks','See stats?','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','vendors_user','User','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_WebSite','Web Site','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_WelcomeMessage','Welcome message vendors','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendors_WhoCanSubscribe','Who can register?','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Viewer_Image','Image viewer','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','visualiser','Preview','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','voir l''aide','See help','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','w_personalise','Personalise?','Weather',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','WriteError','It was impossible to save the file. Make sure your have proper authorisation to write in the directory.','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_Subject','Subject','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','XML_data','XML Data File','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','XML_external','External','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','XML_internal','Internal','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','XML_transform','XSL Transformation File','XML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','yes','yes','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','your_name','Your Name','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_Text','Text','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings10','Time Zones','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings2','Help settings','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings3','Language settings','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings4','Country codes','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings5','Admin menu','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings6','Currencies codes','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings7','Frequencies codes','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings8','Site log','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageSettings9','Region codes','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','link_description','Description','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','link_new_window','Open in a new window?','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','link_vue_order','Order','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_info','...','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_info_tooltip','See more info!','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_label_list_format','List format','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_label_list_type','List type','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_label_see_info','Show the link information','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_options_dropdown','Drop down menu','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_options_horizontal','Horizontal','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_options_list','List','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_options_no','No','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_options_vertical','Vertical','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_options_yes','Yes','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_title','Title','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','list_none','<None>','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FZuserAIM','AIM','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','FZuserICQ','ICQ','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','lnkDirections','Directions','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','lnkFeedback','Feedback','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','lnkmap','map','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','login','Login','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Login_Keep','Keep in memory','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MagicFileInfo','You can personalize the appearance of your directory and your video files.  You can assign an image to a directory to replace the default icon by uploading an image gif or jpg.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MagicFileInfo1','Please use a good quality image betwenn a minimum of 20px to a maximum of 200px.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MagicFileMessage','Default icon will be use<br>Otherwise upload a new one','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MagicFileMessage1','The file was change, It is possible that your will not see a difference.  If so <b><font color=""#ff0000"">purge you web browser cache</font></b>.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MagicFileMessage2','','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mail_Add_File','Attach a file','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mail_Info','<strong>Note:</strong> The E-Mail will be sent in text or HTML, according to the option selected.','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mail_Portal_Role','Membership Role','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mail_Send','Send the E-Mail','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mail_Send_Again','Send another E-Mail','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Mail_Send_To','The E-Mail was send:','BulkEMail',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MailSend','the E-Mail was send','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ManageRoles','Manage account','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ManageUserRoles','Manage security roles','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_big','Large','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_directions','Directions','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_directions_tooltip','Go to Map Quest.','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_location','Location','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_show_map','See map','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_show_map_edit','Show the map?','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_show_tooltip','Click here to show the map!','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_size','Size','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_small','Small','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','mapquest_zoom','Zoom','MapQuest',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageRangeTo','Must be between 20px to 200px max.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageRangeToSave','Must be between 10 to 200','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageRangeToSave800','Must be between 10 to 800','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','install','Install','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','internal_doc','Internal document','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','internal_link','Internal link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','InvalidFileTypeMessage','The file type is not valid, you can only use the following file type: jpg gif png tif or bmp','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','InvalidFileTypeMessage2','The file type is not valide, you can only use GIF or JPG','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ip_address','IP addresse','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_alt','Alternative text','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_anonymous','Anonymous','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_answer','Answer','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_banner_order','Order for the banner','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_banner_source','Source for the banner','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_banner_type','Type of banner','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_clicks','Clicks','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_close','Closed','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_description','Description','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Label_enter','Enter','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_expiration','End: YYYY-MM-DD','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_File','&nbsp;File link','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_icone','Icone','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_Ilink','&nbsp;Internal link','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_link','&nbsp;External link','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_message_body','Message','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_message_date','Date','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_message_object','Subjet','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_message_user','Author','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_no_answer','No answer','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_open','Open','Discussion',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Label_Password','Password','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_period','Period','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_question','Question','Faqs',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_search','Search','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_see_comments','See comments?','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_see_stat','See stats?','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_SelectFile','Select a file&nbsp;','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_selectIlink','Select an internal link','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_selectlink','Select an external link','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_syndicate','*syndicate','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_title','Title','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_update_by','Last updated by','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_update_the','the','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Label_UserName','User Code','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Label_ValidCode','Validation code','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','label_vieworder','Set view order','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LabelMaxHeightImage','Max image height :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LabelMaxWImage','Max image width :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LabelQuaImage','Image quality :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LabelUploadDeleteCancel','Upload a new icon, erase or return :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LabelUploadDeleteCancel1','Upload a new image, erase or return :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language','English','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_add','Add an item','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_change','Edit','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_clicktoadd','Click here to add','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_clicktocreate','Click here to create a new language','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_clicktodel','Click here to erase the language ->','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_clicktogenerate','Click here to create a script for the new language','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_context','Context','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_create','Create a script for language ','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_del','Erase a language','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Language_Edit_Param','Language text','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_new','Add a new language','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_param','Param','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_see','See','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','language_value','Info','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleAPI','API Google','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_location','Location','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail4','message','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Banner_Mail5','Click here to go to the private message section','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','banner_register','Register','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','banners_host','Host','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','banners_portal','Portal','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','bas','Down','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Billing_Frequency','Billing frequency','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Billing_Period','Billing period(each)','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','browser','Browser','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','browser_non_compatible','It was not possible to show this page since your web explorer is not compatible.','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','btnLanguageEdit','Edit only new language text','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','btnLanguageEditAll','Edit all language text','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Button_Enter','Enter','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Button_EnterTooltip','Click here to enter.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Button_Password','Forgot my password','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Button_PasswordTooltip','Click here to receive a password reminder by E-Mail.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Button_Register','Register','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Button_RegisterTooltip','Click here to register.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cache_memory_used','Memory caches used','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cacher l''aide','Hide help','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','calendar','Calendar','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','calendar_cel_height','Cell Height','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','calendar_cel_width','Cell width','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','channel_syndicate','* RSS channel','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','chkDemoDomain','yourname','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Clear','Clear','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','click_to_erase','Click to erase the icon','Album',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Cmd_Reload','Reload','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdHome','Home','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdModerate','Moderate','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdNewTopic','Add new thread','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdPMS','Private messages','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdProfile','Profile','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdRemove','Erase','File',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdRenew','Click here to renew your portal subscription','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdSearch','Search','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','cmdSubscribe','Subscribe','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','command_calendar','Calendar','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','command_upload','Upload a new file','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Confirm_Password','Confirm','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','contact_email','Email','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','contact_telephone','Telephone','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','contact_title','Title','Contact',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','create_portal','Create portal','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','culturecode','en-US','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','day','Day','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','delete','Erase','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Demo_Create_Portal','{PortalName} offers you the possibility to create a Web site with {space} of disk space for a trial period of {days} days. At any time if you need help or more information please to contact me by e-mail {AdministratorEmail}','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Demo_Portal','Demo Portal','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Demo_Trial_Fee','Trial fee','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','directory_from','Directory','PortalBanner',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','download','Download','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','droite','Right','AdminMenu',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','editer','Edit','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','email','E-Mail','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Email_Test','test for E-Mail SMTP Setup','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','end_date','End date','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','enregistrer','Update','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','erase','Erase','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','error','Error','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','error_panel_title','Error','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ErrorGDI','Error, this is not an image, or the file selected is not a valid image.','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SQL_Connection','Put in the SQL DataBase Connection string if using another DataBase','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SQL_NeedExtension','You need to use a .sql file type','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SQL_NeedExtension','Vous devez utiliser un fichier avec une extension .sql seulement','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SQL_NoFile','No file to process','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SQL_NoFile','Aucun fichier à exécuter','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Title_class','Title text Class','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HelpInfo','Help','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','TitleHeader_class','Title header Class','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Gal_MaxFileKB','The file <b>{FileName}</b> you try to upload is {FileSize} (KB) but the maximum allowed is {MaxFileSize} (KB).','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GetGoogleAPI','Aller chercher l''API de Google','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','header_who','Who','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','help','Help','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Highlight','Preview','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','hour','Hour','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_Currency','Currency','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_DemoAllow','Allow the creation of a demo portal?','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_DemoPeriod','Demo period in (days)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_DNZVersion','Deactivate showing DotNetZoom version?','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_EmailHost','Host E-Mail address','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_ErrorReporting','Send error by E-Mail?','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_ErrorReportingInfo','(send error messages to the Host E-Mail address)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_ext_upload','File extension allow for Upload','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_GO_Processor','Go to payment processor site','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_HostFee','Hosting fee','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_HostName','Hosting site title','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_HTMLClean','Web page size reduction','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_LogSQL','See SQL update log','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_Need_Email','<br>you must have a E-Mail address for the host.','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_NoLog','The SQL script was not executed for this version.','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_Paiement','Payment method','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_PaiementCode','Access Code payment processor','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_PaiementPassword','Password payment processor','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_PassordCrypto','Cryptographic Password Key','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_PortalSpace','Space&nbsp;( MB)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_Proxy','Proxy Server','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_ProxyPort','Proxy Port','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_SiteLog','Site log (days)','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_SMTP','SMTP Server settings','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_SMTP_Code','User Code','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_SMTP_Password','Password','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_SMTP_Server','SMTP server','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_test_email','Test E-Mail configuration','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_TimeHost','Server Time','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_TimeZoneHost','Server TimeZone','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_URLHost','Host URL','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HS_ViewState','ViewState settings','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','html','html','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','HTML_ADDtxt','Add some text ...','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','LanguageERROR','The following word - {0} - is missing from the language table {1}','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','hypHost','Designed by  {hostname}','Footer',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','hypPrivacy','Privacy Statement','Footer',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','hypTerms','Terms Of Use','Footer',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','IconesFrom','icon from :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','IconesTo','to :','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','LanguageERROR','Ce môt - {0} - n''est pas dans la table de la langue {1}','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','iframe_border','Border','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','iframe_height','Height','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','iframe_scroll','Scroll','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','iframe_source','Source','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','iframe_title','Title','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','iframe_width','Width','Iframe',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ViewState_SQL','ViewState dans SQL','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_alt_text','Alternate text','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_artist','Artist','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_copyright','Copyright','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_description','Description','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_external','External image','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_height','Height','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_iternal','Internal image','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_select_external','Select an external image','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_select_iternal','Select an external image','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_title','Title','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','image_width','Width','Image',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageDeleted','Image {imagename} was erased','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageDeleteError','There is an error!','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageMaxSize','The quality setting must be between 20-80 and the maximum image size is 200px','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ImageQualityRange','Must be between 20 to 80','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ViewState_memory','Memory','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ViewState_SQL','SQL','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','WhiteSpace_Only','White Space','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','WhiteSpaceHTML','HTML','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','WhiteSpace_ALL','White Space and HTML','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Gal_MaxFileKB','Le fichier <b>{FileName}</b> est {FileSize} (KB) mais la taille maximum pour télécharger est de {MaxFileSize} (KB).','Gallery',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','TitleHeader_class','CSS class du titre','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Title_class','CSS class du texte titre','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleDisplayPointer','Afficher un icône sur la carte','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_User_Name','For security reason you must use a User Name with at least 8 letters or numbers<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_Wait','A moment please!','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ScriptGenerated','SQL Script created:','Language',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SD_Title','Demo portal setup','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','search_header_desc','Description','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','search_header_table','Table','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','search_header_title','Title','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','search_header_update','Update','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','search_header_who','By','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_max_result','Max. number of result','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_max_width','Max. width of title','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_max_width_desc','Max. size for description','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','search_search','Search','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_show_audit','See stats?','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_show_breadcrum','See breadcrums?','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_show_desc','See the description?','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_sql_table','Table','Search',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','seconde','Seconde','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ViewState_memory','ViewState en mémoire','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','see_more','see more ...','Announcement',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Select_Color','Select a colour','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_external_doc','Select an external document','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_external_link','Select an external link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_file_link','Select a file link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_icone','select icone','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_icone_tooltip','I recommand to user an icone of 20px X 20px max!','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_internal_doc','Select an internal document','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_internal_link','Select an internal link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','select_this_image','select this image','Album',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Selected','Selected','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','send','Send','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','server_up_time','Server up time','SystemStat',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ServicesFee','Services fee','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','show','Show','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Signin_hide','Click here to close the window.','Login',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','WhiteSpace_Only','Espace blanc seulement','HostSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteLogLimited','The site log history is limited to {days} days.','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteLogOff','The webmaster deactivated this option on your Portal','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteSettings1','Skinning','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteSettings2','General','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteSettings3','Localization','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteSettings4','Demo Portal','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SiteSettings5','Subscription','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Skin_FileErased','The file was erased','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Skin_FileSaved','The file was saved','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Skin_NeedContentpane','{contentpane} must be between &lt;form&gt; and &lt;/form&gt;','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Skin_NeedForm','&lt;form&gt;&lt;/form&gt; must be in sequence on the page.','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Skin_NeedForm2','&lt;form&gt;&lt;/form&gt; must be on the page.','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SkinFileNoExist','The file does not exist!','SkinEdit',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Slideshow_Player','Slideshow','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_SendEMail','E-MAIL','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SQL_Execute','Execute the script','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SQL_ExecuteCMD','Execute the SQL request','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SQL_Info','To execute a script on this data base or another one','SQL',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_AdminModuleSkin','Admin','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_cmdGoogle','Send to Google','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_cmdProcessor','Go to the payment vendor web site.','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_DemoDirectives','Demo portal creation directives','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_EditModuleSkin','Edit','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_EditSkin_Tooltip','Edit admin SKIN page definition.','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_show_map_edit','Voir la carte?','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_location_MapGoogle','Vous devez saisir une location','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_API_MapGoogle','Un API de Google est requis!','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_LRegistered','Last','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Members','Members','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Message','Message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Message_Notice','{FullName},
You received a message from {SenderName}.
To read this message : {MessageURL}','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_ModInfo','Edit user settings','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Name','Name','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Need_Object','You must have an object and some text in the body!<br>','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NeverConnected','Never connected','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NewMessage','New message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NextPage','Next','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_no_connect','You must be connected to use this module','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_no_pref','You do not have any buddies','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_No_User','* is not a user.<br>','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NoBody','No buddy.','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NoMessage','No messages','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NotFound','Not Found!','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Notice_Object','Message on {portalname}','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_NotRead','New','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Object','Subject','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_offline','Off line','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_OldMessage','Read','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_online','On line','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_OnLine_Now','On line now','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_OnLineNow','On line?','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_OnlineOnly','Only users on line','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_OnlyBody','Only my buddies','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_or','or','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_OutBox','Outbox','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Page','Page','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_pm','Private messages','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_PrevPage','Previous','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Re','RE:','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Read','Old','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Registered','Membership','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_ReMessage','<br>----------Original Message-------------<br>','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_RemovePU','Erase buddy','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_reply','Reply','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_SearchOptions','Search optons','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_See','See','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_see_message','Click here to see your message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_see_user','See info of {username}.','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Select','Select','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Send','Send','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_SendMessage','Send private message','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Since','Since','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_SinceEver','Since ever!','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_to','To','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_ToRead','to read','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_TRegistered','Total','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_UserName','User name','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_write','Write','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_YRegistered','Yesterday','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UOSearchHelp','Use * to make a search','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','update','Update','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','upload','Upload','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UploadSuccessMessage','Upload succesfull','ImageManager',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','FZEditPost','Modifier le message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UserName_Already_Used','You must use another User Name since <u>{username}</u> is already used.<br>Select another User Name.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Users_Delete','Delete non authorized users','Users',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Valid_Boolean','You can only use True or False','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Valid_Date_Format','The accepted date format is AAAA/MM/JJ','ErrorMessage',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Valid_IP_Not_Saved','Code not saved','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Valid_IP_Saved','Code sauved','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Valid_IP_Security','The IP Code are not valid.  Use a code between 0.0.0.1 and 255.255.255.255','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Valid_IP_Security1','The IP Code from: must be equal or lower than the IP Code to:','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vender_Clicks','Clicks','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vender_End','End','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vender_Start','Start','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vender_Type','Type','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_Inc','Expand','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_LeftToolTip','Move left','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_manage_user_table','Manage user tables','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_ParamModif','Edit module settings','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_RightToolTip','Move to right','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_ShowInfo','Show module info','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_ShowParam','Module settings','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_sql','SQL','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_terms','TERMS OF USE','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_UpToolTip','Move up','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','title_vendor_feedback','Vendor feedback','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','to','to','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','today','Today','Calendar',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tooltip_feedback','Update the default E-mail!','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','tooltip_send','Send the E-Mail','Feedback',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','True','True','Global',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_css','CSS File','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_disable','Deactivate page link?','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_disableinfo','The link will not be available in the menu','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_editcss','Edit CSS','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_editcssinfo','Edit the CSS file','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_editmenuparam','Edit the menu setup','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_editskin','Edit SKIN','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_editskininfo','Edit SKIN file','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_icone','Icone','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_parenttab','Parent page','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_skin','SKIN File','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_TabAdminRole','Edit privileges','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_tableleftwidth','Width of left pane','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_tablerightwidth','Width of right pane','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_tabname','Name of page','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_tabtemplate','Page template','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_TabViewRole','See','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_visible','Visible?','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ts_visibleinfo','Only use if the page does not have child pages','TabSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','TwoClickToSelect','Double clicks to select','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','type_doc','Type','Documents',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_Autorized','Autorized','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_Created_Date','Created date','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_LastLogin_Date','Last login','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_QUIT_site','Quit','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_SecurityControl','Login security','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_SecurityContryCode','Country Code','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_SecurityIPFROM','IP from','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_SecurityIPTO','IP to','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','U_Subscribe','Register','User',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UnZipFile','Decompress ZIP?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_AddList','Add to my buddy list','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_AddToList','Add to my buddy list','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_AllUsers','All users','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Anonymous','Guests','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_ASC','ASC','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_BadUserID','The user ID is not valid','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Body','Buddy?','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_by','by','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_click_connect','Click here to enter','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Date_received','Received date','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_Date_Send','Send date','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_DESC','DESC','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_erase','Erase all selected messages','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_FindUser','Find a user','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_FirstPage','First','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_From','from','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_InBox','Inbox','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_InfoUserName','User information','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_IsBody','Is buddy','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_KeepNew','Keep as new','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_LastOn','Last visit','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_LastPage','Last','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UO_ListUserName','{username} body list','UserOnline',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','EditAccessDenied','Restriction d''accès','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Forum_Search','Recherche avancée','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_Alias','Auteur','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_Subject','Sujet','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Search_Text','Message','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Verified_Register_info','<b>*Note:</b> The portal registration is verified. You will receive an E-Mail with a validation code after you complete this form.  You will have to use this validation code to enter the portal the first time.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Guest','Anonymous','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Head_Demo','URL to create a new portal','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Head_Demo_Allow','Allow cration of a demo portal?','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Head_Language','Linguistic settings','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Head_Language_Info','Language info to edit','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Head_PortalInfo','Hosting information','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Admin','Administrater','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Allow_Demo_Create','Allow the creation of a web portal','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Background','Background image','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Contener','Modules SKIN','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Currency','Currency','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Demo_Domain','Domain for the Portal','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Email','E-Mail notice','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Language_Default','Default language','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Language_ToUse','Language to use','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Logo','Logo','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Mod_Info','Edit','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_PortalBasicFee','Basic hosting fee','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_PortalExtraFee','Module extra fee','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Processor','Payment processor','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Processor_Code','Access Code payment processor','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Processor_Password','Password payment processor','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_ReplaceLOGO','Alternative logo info.','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_SkinEdit','Edit SKIN','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Tigra','Edit TIGRA menu settings','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_TimeZone','Time Zone','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_TotalPortalFee','Total hosting fee','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_TypeRegistration','Registration type','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_UserInfo','Show user info','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Label_Vendors','Vendors source','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_lnkcontainer','Get a Module SKIN','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_LoginModuleSkin','Login','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Month','Month','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_PortalAlias','Alias portal','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_PortalCSS_Tooltip','Edit CSS file','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_PortalDiskSpace','Space (MB)','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_PortalExpired','Portal end date','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_PortalSkin_Tooltip','Edit the default SKIN definition.','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Privacy_Text','Privacy Statement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Privacy_Tooltip','Edit Privacy Statement','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Renewal','- Portal Renewall ( Basic Host Fee: {HostFee} + Modules bonus: {ModuleFee} = Total Fee: {TotalFee} )','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Site_Keywords','Key words','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Site_Title','Title','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Site_Title_Bottom','Footer text','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_SiteLogDays','Site log (days)','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_SiteModuleSkin','Portal','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Terms_Text','Terms Of Use','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_Terms_Tooltip','Edit Terms Of Use','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_TTTCSS_Tooltip','Edit Gallery and Forum CSS file.','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_txtlogin','Directives to enter','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_txtRegistration','Directives to register','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ModuleTitle','Titre','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ModuleWrapper','Extérieur','ModuleSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SendPMS','MESSAGE','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_txtSignup','Text included in the registration E-Mail','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','start_date','Start date','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','start_hour','Time','Events',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Stat_Calendar','Calender','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Stat_Display','See','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Stat_EndDate','End date','Statistique',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_portal','Do you want to erase this portal?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_premium','In order to change your options and extras your need to contact the webmaster','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','request_confirm_unsubscribe','Do you want to resign your membership?','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Required_Info','<b>*Note:</b> All the fields identified with (*) are required.','Register',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_VisitWWW','WWW','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ForSearchHTML','Information summary for use in the seach module','HTML',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','return','Return','Command',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_AllRoles','All roles','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Assignation_Auto','Auto assignation?','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Assignation_Public','Public?','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Description','Description','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Expiry_Date','End date','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_ExpiryDate','End date','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Frequency','Each','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_FrequencyP','Period','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Header_Auto','Auto','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Header_Public','Public','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Name','Name','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_PortalRole','Security Role','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Trial','Trial','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Role_Upload','Is allowed to upload','PortalRoles',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_account_info','Domain\username','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_account_password','Password','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_css_external','External CSS','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_css_internal','Internal CSS','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_CSS_source','News Feed Style Sheet','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_external','External','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_general_info','<b>*Note:</b> You may want to see the available RSS feeds at&nbsp;<b><a href="http://w.moreover.com/categories/category_list_rss.html" target="_new">Moreover.Com</a></b>','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_internal','Internal','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_news_source','News Feed Source','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_noconnect_admin','It was not possible to connect to {xmlsrc}. Plase make  sure the URL or the proxy settings are valid.','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_noconnect_error','The RSS link is not available. Error message : {errormessage}','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_security','Security Options (optional)','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','rss_security_account','Account Information','RSS',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_CreatePortal','Create Portal','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_EMail','You need to have a valid E-Mail address!<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_Email','E-Mail','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_LastName','Name','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_Name','First name','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_Password','Password','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_UserCode','User Code','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_Wait','Click here if you are not redirected in 10 sec...','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_F_Wait_Info','We are setting your web portal. You should received in the few minutes an E-Mail with directives for logging in the first time.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_InstalPortal','Portal setup&nbsp;','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_NameAlreadyUsed','The domain name http://{PortalAlias} is already used.  Please select a new domain name.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_NameAlreadyUsed1','You need to chose another portal name since this one is already used.','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_Need_Names','Your name and first name are required for your registration<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_Need_Portal_Name','A portal name is required<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_Password','For security reason you must use a Password with at least 8 letters or numbers.<br>','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_PortalAdmin','Portal Administrator settings','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','SS_ToolTipModuleSkin','ToolTip','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleDisplayResize','Afficher la barre de navigation sur la carte','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleDisplayType','Afficher la sélection de vue sur la carte','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_big','Large','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_directions','Directions','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_directions_tooltip','Aller au site Google Map','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_size','Grandeur','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MapGoogle_small','Petite','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_PortalName','Portal name','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_PortalTemplate','Template','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_PortalType','Portal type','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_PortalTypeChild','Child','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_PortalTypeParent','Parent','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','S_Title','Add a new portal','Signup',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Reset_PasswordTXT','Dear {0},

Your password was modified following a cryptographic problem.
You will need to use the following information to enter the site for your next visit:
Portal URL:{1}
UserName:       {2}
Password:','EmailNotice',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','ManageTableUDT','Manage tables','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','grdFields_Title','Title','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','grdFields_Type','Type','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','grdFields_visible','Visible','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','AddField','Add a new field','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Move_Field_Down','Down','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Move_Field_Up','Up','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Vendor_Register','Vendor Registration','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','OrderBy','Order By','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Int32','Integer','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Boolean','Boolean','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Decimal','Decimal','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','String','String','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','DateTime','DateTime','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','ManageTableUDT','Administrer les tables usager','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','OrderBy','Ordre de tri','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','grdFields_visible','Visible','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','AddField','Ajouter un champ','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','grdFields_Title','Titre','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','grdFields_Type','Type','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','DateTime','Date','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Int32','Nombre','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Boolean','Vraie/Faux','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Move_Field_Up','Haut','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Move_Field_Down','Bas','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','String','Texte','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Decimal','Décimale','UDT',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_ImgSettings','Paramètres pour les images','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','F_ImgSettings','Images settings','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleGenerateLatLong','Générer une coordonnée','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','GoogleGenerateScript','Générer un script','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_LatLong_MapGoogle','Vous devez founir les coordonnée','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','need_Script_MapGoogle','Vous devez fournir un script','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_big','Large','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_small','Small','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_zoom','Zoom','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_size','Size','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_directions_tooltip','Go to Google Map','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_directions','Go to Google map to find directions','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GetGoogleAPI','Get Google API','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleAPI','Google API','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleDisplayPointer','Display Pointer','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleDisplayResize','Display Resize','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleDisplayType','Display Type','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleGenerateLatLong','Generate Lat Long','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleGenerateScript','Generate  Script','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','GoogleLatLong','Lat Long','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_location','Map title','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MapGoogle_show_map_edit','Display edit','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_API_MapGoogle','You need an API from GoogleMap','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_LatLong_MapGoogle','A Lat and Long need to be entered','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_Script_MapGoogle','A script need to be generated or entered','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','need_location_MapGoogle','Where is the map from?','GoogleMap',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','SS_ToolTipModuleSkin','ToolTip','SiteSettings',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','MyBuddiesModule','Information usagers préférés','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','MyBuddiesModule','My Buddies','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UserInfoModule','Information membres','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','EditAccessDenied','Access Denied','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','UserListModule','Liste membres','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','UserListModule','Membership list','ModuleTitle',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','links_label_CSSClass','CSS Class for link','Links',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','Oriflamme','Oriflamme','Vendors',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('en','Search_Alias','User name','Forum',1)
INSERT INTO [dbo].[languageSettings] ([language],[SettingName],[SettingValue],[Context],[New]) VALUES('fr','F_SelectModerated','Chosir moderateur','Forum',1)
IF(	IDENT_INCR( 'dbo.languageSettings' ) IS NOT NULL OR IDENT_SEED('dbo.languageSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.languageSettings OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Links
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Links' ) IS NOT NULL OR IDENT_SEED('dbo.Links') IS NOT NULL ) SET IDENTITY_INSERT dbo.Links ON
INSERT INTO [dbo].[Links] ([ItemID],[ModuleID],[CreatedByUser],[CreatedDate],[Title],[Url],[AlternateUrl],[ViewOrder],[Description],[NewWindow],[Clicks]) VALUES('1','3','9','20070214','Site web DotNetZoom','http://www.dotnetzoom.com','',NULL,'Le site web Officiel de DotNetZoom',1,'0')
INSERT INTO [dbo].[Links] ([ItemID],[ModuleID],[CreatedByUser],[CreatedDate],[Title],[Url],[AlternateUrl],[ViewOrder],[Description],[NewWindow],[Clicks]) VALUES('2','3','9','20070214','René Boulard','http://www.reneboulard.qc.ca','',NULL,'Le concepteur de DotNetZoom',1,'0')
INSERT INTO [dbo].[Links] ([ItemID],[ModuleID],[CreatedByUser],[CreatedDate],[Title],[Url],[AlternateUrl],[ViewOrder],[Description],[NewWindow],[Clicks]) VALUES('3','3','9','20070214','Modeliste.net','http://www.modeliste.net','',NULL,'Site démo pour le logiciel de DotNetZoom',1,'0')
INSERT INTO [dbo].[Links] ([ItemID],[ModuleID],[CreatedByUser],[CreatedDate],[Title],[Url],[AlternateUrl],[ViewOrder],[Description],[NewWindow],[Clicks]) VALUES('4','7','2','20070214','Modeliste.net','http://www.modeliste.net','',NULL,'Demo site for dotnetzoom',1,'1')
INSERT INTO [dbo].[Links] ([ItemID],[ModuleID],[CreatedByUser],[CreatedDate],[Title],[Url],[AlternateUrl],[ViewOrder],[Description],[NewWindow],[Clicks]) VALUES('5','7','2','20070214','DotNetZoom','http://www.dotnetzoom.com','',NULL,'The official site for DotNetZoom',1,'1')
INSERT INTO [dbo].[Links] ([ItemID],[ModuleID],[CreatedByUser],[CreatedDate],[Title],[Url],[AlternateUrl],[ViewOrder],[Description],[NewWindow],[Clicks]) VALUES('6','7','2','20070214','René Boulard','http://www.reneboulard.qc.ca','',NULL,'The web site of René Boulard',1,'1')
IF(	IDENT_INCR( 'dbo.Links' ) IS NOT NULL OR IDENT_SEED('dbo.Links') IS NOT NULL ) SET IDENTITY_INSERT dbo.Links OFF
GO

-----------------------------------------------------------
--Insert data into dbo.loginsecurity
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.loginsecurity' ) IS NOT NULL OR IDENT_SEED('dbo.loginsecurity') IS NOT NULL ) SET IDENTITY_INSERT dbo.loginsecurity ON
IF(	IDENT_INCR( 'dbo.loginsecurity' ) IS NOT NULL OR IDENT_SEED('dbo.loginsecurity') IS NOT NULL ) SET IDENTITY_INSERT dbo.loginsecurity OFF
GO

-----------------------------------------------------------
--Insert data into dbo.longlanguageSettings
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.longlanguageSettings' ) IS NOT NULL OR IDENT_SEED('dbo.longlanguageSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.longlanguageSettings ON
-----------------------------------------------------------
--Insert data into dbo.longlanguageSettings
-----------------------------------------------------------
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Access Denied','<table width="80%" border="0" align="center">
    <tbody>
        <tr>
            <td> <span style="" class="ItemTitle"> Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span>  <br /> <br /> <span class="ItemTitle"> COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span>  <br /> <br /> Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.  <br /> <br /> <span class="ItemTitle"> MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span>  <br /> <br /> {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle"> UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span>  <br /> <br /> Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}.  <br /> <br /> <span class="ItemTitle"> LIENS VERS DES SITES TIERS </span>  <br /> <br /> Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites.  <br /> <br /> <span class="ItemTitle"> UTILISATION ILLICITE OU INTERDITE</span>  <br /> <br /> Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle">QUESTIONS</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br /> <br /> </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Edit Access Denied','Message pour un bris de sécurité',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','PortalPrivacy','<table width="80%" align="center" border="0">
    <tbody>
        <tr>
            <td><br />
            <br />
            <span class="ItemTitle">D&eacute;claration de confidentialit&eacute;</span> <br />
            <br />
            {PortalName} est d&eacute;termin&eacute; &agrave; offrir un site Web qui respectent la vie priv&eacute;e des visiteurs. Cette page r&eacute;sume la politique et les pratiques de {PortalName} en ce qui concerne la protection des renseignements personnels sur le sites Web. <br />
            <br />
            <span class="ItemTitle">Renseignements personnels</span> <br />
            <br />
            Le site Web de {PortalName} ne saisis pas automatiquement de renseignements personnels vous concernant express&eacute;ment comme votre nom, votre num&eacute;ro de t&eacute;l&eacute;phone ou votre adresse &eacute;lectronique. Nous aurons acc&egrave;s &agrave; ce genre de renseignements uniquement si vous nous les fournissez en les inscrivant dans une section prot&eacute;g&eacute;e du site. Tous les renseignements personnels conserv&eacute;s ou saisis par le {PortalName} sont prot&eacute;g&eacute;s en vertu de la Loi sur la protection des renseignements personnels. Cela signifie qu''&agrave; chaque point de saisie, on vous demandera votre consentement avant de recueillir des renseignements vous concernant et on vous informera des fins pour lesquelles ces renseignements sont saisis et de la fa&ccedil;on dont vous pouvez exercer votre droit d''acc&egrave;s &agrave; ces renseignements. <br />
            <br />
            <span class="ItemTitle">Logiciel de protection</span> <br />
            <br />
            {PortalName} utilise un logiciel qui surveille la transmission des donn&eacute;es sur le r&eacute;seau pour d&eacute;celer toute tentative non autoris&eacute;e de t&eacute;l&eacute;charger ou de modifier des renseignements ou de causer d''autres dommages. Ce logiciel re&ccedil;oit et inscrit le protocole Internet (PI) de l''ordinateur qui est entr&eacute; en communication avec notre site Web, la date et l''heure de la visite et les pages consult&eacute;es. Nous n''essayons pas d''&eacute;tablir de liens entre ces adresses et l''identit&eacute; des personnes qui visitent notre site, &agrave; moins que nous n''ayons d&eacute;cel&eacute; une manoeuvre visant &agrave; endommager le site. <br />
            <br />
            <span class="ItemTitle">Utilisation des t&eacute;moins (cookies)</span> <br />
            <br />
            {PortalName} utilise &agrave; l''occasion des &laquo; t&eacute;moins &raquo; afin de d&eacute;terminer comment les visiteurs utilisent ce site ou les sites qu''ils ont consult&eacute;s pr&eacute;c&eacute;demment. Les &laquo; t&eacute;moins &raquo; que nous utilisons ne nous permettent pas d''identifier des personnes. Ils servent &agrave; compiler des statistiques sur les habitudes de transmission des donn&eacute;es et &agrave; &eacute;valuer l''efficacit&eacute; du site. Avant d''utiliser un &laquo; t&eacute;moin &raquo;, nous vous en informerons afin que vous ayez la possibilit&eacute; de le refuser; un tel refus n''aura aucun effet sur le rendement du site et aucune limite ne sera impos&eacute;e &agrave; votre capacit&eacute; de consulter des renseignements sur le site. (Un &laquo; t&eacute;moin &raquo; est un fichier qui peut &ecirc;tre plac&eacute; &agrave; votre insu sur votre unit&eacute; de disque dur et qui sert &agrave; surveiller les visites que vous faites &agrave; un site.) <br />
            <br />
            <span class="ItemTitle">S&eacute;curit&eacute; du syst&egrave;me</span> <br />
            <br />
            L''information relative &agrave; chaque visiteur est utilis&eacute;e par {PortalName} pour r&eacute;pondre &agrave; vos demandes ou assurer la s&eacute;curit&eacute; du syst&egrave;me. Nous n''utilisons pas cette information pour cr&eacute;er des profils pouvant &ecirc;tre identifi&eacute;s individuellement et nous ne la divulguons &agrave; personne de {PortalName}. <br />
            <br />
            <span class="ItemTitle">Questions</span> <br />
            <br />
            Si vous avez des questions ou des commentaires au sujet de cette politique ou de la fa&ccedil;on dont est appliqu&eacute; la Loi sur la protection des renseignements personnels, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. Si notre r&eacute;ponse &agrave; vos pr&eacute;occupations au sujet de la protection des renseignements personnels ne vous satisfait pas, vous pouvez communiquer avec le <a href="mailto:info@privcom.gc.ca">Commissariat &agrave; la protection de la vie priv&eacute;e.</a> <br />
            <br />
            <br />
            </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','PortalTerms','<table width="80%" align="center" border="0">
    <tbody>
        <tr>
            <td><span class="ItemTitle">Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span> <br />
            <br />
            <span class="ItemTitle">COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span> <br />
            <br />
            Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte. <br />
            <br />
            <span class="ItemTitle">MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span> <br />
            <br />
            {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement. <br />
            <br />
            <span class="ItemTitle">UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span> <br />
            <br />
            Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}. <br />
            <br />
            <span class="ItemTitle">LIENS VERS DES SITES TIERS </span><br />
            <br />
            Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites. <br />
            <br />
            <span class="ItemTitle">UTILISATION ILLICITE OU INTERDITE</span> <br />
            <br />
            Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement. <br />
            <br />
            <span class="ItemTitle">QUESTIONS</span> <br />
            <br />
            Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br />
            <br />
            </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Forum_Moderated','Merci de votre contribution, vous venez de soumettre un message dans un forum dirigé. Un                                                    administrateur validera votre soumission et l''autorisera le cas échéant. Ceci peut                                                    prendre quelques minutes ou quelques jours. Vous recevrez un courriel aussitôt que                                                    votre message sera approuvé pour diffusion sur le forum. Je vous remercie pour votre                                                    patience.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','AccessDeniedInfo','<table align="center" width="80%" border="0">
<tr>
<td>
<br>
<br>
Votre profil de sécurité ne vous donne pas accès à cette section du site web. Si vous croyez que vous devriez y avoir accès ou pour avoir plus d''information n''hésitez
pas à vous adresser au {PortalName} par courriel à {AdministratorEmail}.
</td></tr></table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Demo_Portal_Info','<div align="left" class="normal">
<p align="left">
{Directives}
</p>
</div>
<div align="left" class="normal">
<span class="Head">Info importante</span>
<ol>
	<li>Vous devez choisir un nom pour votre nouveau site.  Pour un site d''essais l''adresse URL sera un sous répertoire du site web {DomainName}.  Tel que http://{DomainName}/votenom/</li>
	<li>Vous devez identifier, votre nom ainsi que votre prénom.</li>
	<li>Vous devez obligatoirement nous donner votre adresse de courriel.  Nous vous ferons parvenir par courriel un hyperlien pour activer votre compte d''administrateur de votre nouveau site web.</li>
	<li>Vous devez choisir un thème pour votre site,  pour les visonner avant de choisir vous avez juste à cliquer ici.&nbsp;&nbsp;<b><i>{lblpreview}</i></b></li>
	<li>Vous devez choisir un code d''accès ainsi qu''un môt de passe pour votre compte d''administrateur.  Pour des questions de sécurité nous vous demandons de choisir un môt de passe avec au moins 8 lettres ou chiffres et de même pour votre code d''accès. </li>
	<li>Vous devez accepter les termes et conditions d''utilisation. Après l''acceptation par l''hyperlien <b>j''accepte</b> dans le bas de la page, vous serez redirigé sur une nouvelle page pour completer la création de votre nouveau site web.</li>
	<li>Une fois que vous avez complété votre inscription et que votre nouveau site web a été créé.  Vous recevrez un <b>courriel avec un <font color="#ff0000">hyperlien</font></b> que vous devrez utiliser pour la première fois afin d''activer votre première session en tant qu''administrateur de votre site web.</li>
</ol>
</div>
<div align="left" class="normal">
<span class="Head">Acceptation des conditions générales d''utilisation entre vous et {PortalName}
</span>
<p align="left">
Vous ne pouvez utiliser le site web {PortalName} qu''à condition de garantir que vous ne l''utiliserez pas à  des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.<br>
<a href="http://{DomainName}/{language}.default.aspx?edit=control&def=Signup&guid={lblGUID}" title="Acceptation des conditions générales d''utilisation et après l''acceptation de ces termes vous pourrez créer un site d''essais">&nbsp;<b><font color="#ff0000">j''accepte</font></b></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://{DomainName}/" title="Retour">&nbsp;<b><font color="#669900">je refuse</font></b></a>
</p>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Demo_Portal_Info1','Il y a deux types de portails qui peuvent être créés:<br><br><li><b>Portail parent</b> est un site avec une adresse URL unique( ie. www.domain.com ) qui lui est associé. Vous devez avoir un nom de domaine.  Vous pouvez aussi utiliser une adresse IP ( ie. <b>65.174.86.217</b> ). Si vous désirez avoir plus qu''un nom de domaine pour un portail vous devez séparer les noms de domaine par une virgule ( ie. <b>www.domain1.com,www.domain2.com</b> ). ATTENTION ne créer pas de portail parent sans avoir préalablement fait faire l''installation du mapping DNS, sinon vous ne pourrez pas avoir accès au portail.<br><br><li><b>Portail enfant</b> est un sous-répertoire du nom de domaine du compte du serveur d''hébergement ( ie. www.domain.com/repertoire ). Un example <b>{DomainName}/nomportail</b>. A portail enfant peut être modifié en portail Parent n''importe quand.  Vous devez seulement faire une modification aux paramètres Alias.<br><br>*Note: Le portail sera créer en utilisant les propriétés par défaults selon la définition des modules sur le serveur d''hébergement ( Frais d''Hébergement, Espace disque, Période d''essais ). Vous pouvez toujours faire des modifications après la création du portail dans le module administration.<br><br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Demo_Portal_Info2','L''inscription au portail de démonstration vous permet de créer votre propre portail web pour fin d''expérimentation et d''essais{DemoPeriod} pour une période de {days} jours{/DemoPeriod}.<br><br><b>*Note:</b> Le nom que vous choisirez pour votre portail doit être sans espace ou ponctuation. L''URL de votre portail sera <b>{DomainName}/nomduportail</b><br><br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','EditAccessDeniedInfo','Votre profil de sécurité ne vous donne pas accès à cette page. Assurez vous que vous avez <a href="{httplogin}" title="ouvrir une session"><font color="red">ouvert une session</font></a> avec votre code d''accès. Si vous croyez que vous devriez avoir accès à cette page veuillez faire une demande à l''administrateur du site.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_account_mod_notice','Votre dossier à été modifié

Date: {date}

Prénom: {firstname}
Nom: {lastname}

App.: {app}
Rue: {street}
Ville: {city}
Province: {province}
Pay: {country}
Code Postal: {postalcode}
Telephone: {phone}

Courriel: {email}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_new_demo_portal','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>
{FullName}<br><br>
Votre portail web a été créé. Je vous demande de lire attentivement l''information de ce message et de le sauvegarder dans un endroit sûr pour référence future.  Par l''utilisation du nouveau site web ainsi créé, vous vous engagez à respecter tous les termes, conditions d''utilisation et mentions d''avertissement.<br><br>
Adresse web portail: {PortalURL}<br>
Code d''accès administrateur: {Username}<br>
Mot de passe administrateur: {Password}<br><br>
Pour une question de sécurité pour ouvrir une session la première fois avec votre code administrateur vous devrez utiliser l''hyperlien suivant : <a href="{validationcode}"> cliquer ici pour valider de votre inscription</a><br> 
<b>ou copier cette ligne dans la bare d''adresse de votre fureteur :</b><br><br>
 {validationcode}<br><br> 
<br><br>Vous êtes entièrement responsable du maintien de la confidentialité de votre mot de passe et de votre nom d''utilisateur. Vous êtes en outre entièrement responsable de toute activité ayant lieu sous votre compte. Vous vous engagez à avertir immédiatement  {PortalName}  de toute utilisation non autorisée de votre compte, ou de toute autre atteinte à la sécurité. {PortalName} ne pourra en aucun cas être tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. Néanmoins, votre responsabilité pourrait être engagée si {PortalName} ou un tiers subissait des dommages dus à l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.
<br><br>{PortalName} se réserve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont proposés. Il vous incombe de consulter régulièrement ces termes et conditions d''utilisation. Votre utilisation renouvelée du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.
<br><br>Sauf indication contraire, le site web {PortalName} est destiné à être utilisés à des fins personnelles et non commerciales. Vous n''êtes pas autorisé à modifier, copier, distribuer, transmettre, diffuser, représenter, reproduire, publier, concéder sous licence, créer des oeuvres dérivées, transférer ou vendre tout information, logiciel, produit ou service obtenu à partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} à des fins commerciales, sans l''autorisation expresse, écrite et préalable, de {PortalName}.
<br><br><b><font color="#ff0000">Vous ne pouvez utiliser le site web {PortalName} qu''à condition de garantir que vous ne l''utiliserez pas à des fins illicites ou interdite</font></b><br><br>
Merci de votre participation...<br><br>
<a href="mailto:{HostEmail}?subject={PortalName} Création nouveau site web">{HostEmail}</a>


</body>
</html>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_new_portal','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>
{FullName}<br><br>
Votre portail web a été créé. Je vous demande de lire attentivement l''information de ce message et de le sauvegarder dans un endroit sûr pour référence future.  Par l''utilisation du nouveau site web ainsi créé, vous vous engagez à respecter tous les termes, conditions d''utilisation et mentions d''avertissement.<br><br>
Adresse web portail: {PortalURL}<br>
Code d''accès administrateur: {Username}<br>
Mot de passe administrateur: {Password}<br><br>
Pour une question de sécurité pour ouvrir une session la première fois avec votre code administrateur vous devrez utiliser l''hyperlien suivant : <a href="{validationcode}"> cliquer ici pour valider de votre inscription</a><br> 
<b>ou copier cette ligne dans la bare d''adresse de votre fureteur :</b><br><br>
 {validationcode}<br><br> 
Merci de votre participation...<br><br>
<a href="mailto:{HostEmail}?subject={PortalName} Création nouveau site web">{HostEmail}</a>
</body>
</html>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_newuser_account','{FullName},

Nous sommes heureux de vous informer que vous demande d''adhésion a été accepté pour le portail web {PortalName}. Je vous demande de lire attentivement l''information de ce message et de le sauvegarder dans un endroit sûr pour référence future.

Adresse web portail: {PortalURL}
Code d''accès: {Username}
Mot de passe: {Password}
{needcode}
Code de validation:  {validationcode}
{/needcode}

Venez voir le site web.

{signupmessage}

Merci de votre participation...

{PortalName}
                    

{AdministratorEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_newuser_notice','Date: {date}

Prénom: {firstname}
Nom: {lastname}

App.: {app}
Rue: {street}
Ville: {city}
Province: {province}
Pay: {country}
Code Postal: {postalcode}
Telephone: {phone}

Courriel: {email}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_newuser_private','{FullName},

Merci de votre demande d''adhésion au portail web {PortalName}. Je vous demande de lire attentivement l''information de ce message et de le sauvegarder dans un endroit sûr pour référence future.

Adresse web portail: {PortalURL}
Code d''accès: {Username}
Mot de passe: {Password}

Vous allez recevoir un avis d''acceptation de la part du webmestre aussitôt que votre demande d''adhésion sera validée.

{signupmessage}

Merci de votre participation...

{PortalName}
                    

{AdministratorEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_newuser_verified','{FullName},

Merci de votre demande d''adhésion au portail web {PortalName}. Je vous demande de lire attentivement l''information de ce message et de le sauvegarder dans un endroit sûr pour référence future.

Adresse web portail: {PortalURL}
Code d''accès: {Username}
Mot de passe: {Password}
Code de validation:  {validationcode}

{signupmessage}

Merci de votre participation...

{PortalName}
                    

{AdministratorEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','email_password_recall','{FullName},

Vous nous avez demandé de vous faire parvenir votre mot de passe pour le site web {PortalName}

Vous devez utiliser cette information pour entrer lors de votre prochaine visite:

Adresse web portail: {PortalURL}
Code d''accès:        {Username}
Mot de passe:        {Password}
{needcode}
Code de validation:  {validationcode}
{/needcode}
{notauthorized}
Statut:              Non autorisé
{/notauthorized}

Sincèrement,

webmestre

*Note: veuillez négliger ce message, si vous n''avez pas demandé de vous faire parvenir votre mot de passe.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','ModuleDefinitionInfo','Des modules peuvent être ajoutés à l''application en utilisant un mécanisme automatisé d''installation. Afin d''employer ce dispositif, tous les dossiers associés au module                doivent d''abord être téléchargés sur le server web en utilisant l''option de gestion des fichiers.  Des dossiers peuvent être téléchargés individuellement ou comme paquet comprimé simple de bibliothèque (*.zip). Un manuscrit d''installation (*.xml) doit être inclus avec les dossiers du module que vous souhaitez installer. Si vous souhaitez installer un module manuellement vous devrer utiliser le manuscrit d''installation "Template" ci-dessous et alors éditer les propriétés de définition pour le module de "Template" créé.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','new_portal_info','<p>{FullName}</p>
<p>Votre portail web a été créé. Vous allez recevoir dans les prochaine minutes un courriel avec de l''information pour entrer sur votre site web la premère fois</p>
<p>Par l''utilisation du nouveau site web ainsi créé, vous vous engagez à respecter tous les termes, conditions d''utilisation et mentions d''avertissement.</p>
<p>Adresse web portail: {PortalURL}</p>
<p>Pour une question de sécurité pour ouvrir une session la première fois avec votre code administrateur vous devrez utiliser l''hyperlien inclus de le courriel.</p> 
<p>Vous êtes entièrement responsable du maintien de la confidentialité de votre mot de passe et de votre nom d''utilisateur. Vous êtes en outre entièrement responsable de toute activité ayant lieu sous votre compte. Vous vous engagez à avertir immédiatement  {PortalName}  de toute utilisation non autorisée de votre compte, ou de toute autre atteinte à la sécurité. {PortalName} ne pourra en aucun cas être tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. Néanmoins, votre responsabilité pourrait être engagée si {PortalName} ou un tiers subissait des dommages dus à l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.</p>
<p>{PortalName} se réserve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont proposés. Il vous incombe de consulter régulièrement ces termes et conditions d''utilisation. Votre utilisation renouvelée du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.
<br><br>Sauf indication contraire, le site web {PortalName} est destiné à être utilisés à des fins personnelles et non commerciales. Vous n''êtes pas autorisé à modifier, copier, distribuer, transmettre, diffuser, représenter, reproduire, publier, concéder sous licence, créer des oeuvres dérivées, transférer ou vendre tout information, logiciel, produit ou service obtenu à partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} à des fins commerciales, sans l''autorisation expresse, écrite et préalable, de {PortalName}.
</p><p><b><font color="#ff0000">Vous ne pouvez utiliser le site web {PortalName} qu''à condition de garantir que vous ne l''utiliserez pas à des fins illicites ou interdite</font></b></p>
<p>
<a href="mailto:{HostEmail}?subject={PortalName} Création nouveau site web">{HostEmail}</a></p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','PortalCreationInfo','<b>*Note:</b>  Une fois que vous avez compléter votre inscription et que votre nouveau site web a été créé.  Vous recevrez un <b>courriel avec un <font color="#ff0000">hyperlien</font></b> que vous devrez utiliser la première fois que vous voudrez ouvrir une session comme administrateur de votre site.	Pour accéder au nouveau portail en tant qu''administrateur, vous devez utiliser le code d''accès                            ainsi que le mot de passe que vous venez d''inscrire au formulaire.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Security_CannotUpload','Votre profil de sécurité ne vous permet pas de télécharger des fichiers sur le serveur.  L''administrateur du site pourra vous donner la permission de télécharger des fichiers en modifiant votre profil de sécurité ou en modifiant l''autorisation de télécharger de votre profil de sécurité.
<p>{AdministratorEmail} Faire une demande de modification pour ajouter permission de téléchargement</a></p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Security_Enter_Portal','Vous devez utiliser l''hyperlien que nous vous avons fait parvenir par courriel pour débloquer votre compte usager.  Par contre, si vous avez de la difficulté à ouvrir une session, pour des raisons de sécurité je vous demande d''écrire au webmestre et il se fera un plaisir de vous dépanner
{HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Security_Enter_PortalIP','Vous ne pouvez pas ouvrir une session à partir de cet endroit.  L''origine de la requête est différente que celle à votre dossier.  Veuillez faire parvenir un courriel au webmestre pour modifier votre compte usager 
votre IP {IP}{HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Security_Enter_PortalWait','Le temps d''attente n''est pas encore fini, pour des raisons de sécurité vous ne pourrez plus faire d''essais d''ouverture de session pour un période les 10 prochaines minutes.  Pour demander de l''aide vous pouvez faire une demande au webmestre.  Il se fera un plaisir de vous dépanner
{HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Security_Enter_PortalWait1','Vous avez de la difficulté à ouvrir une session, pour des raisons de sécurité vous ne pourrez plus faire d''essais d''ouverture de session avant qu''un délais minimum de 10 minutes.  Pour demander de l''aide vous pouvez faire une demande au webmestre.  Il se fera un plaisir de vous dépanner 
{HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Welcome_Accepted_Private','Votre demande d''inscription a été enregistrée.  Vous allez recevoir un avis d''acceptation de la part du webmestre aussitôt que votre demande d''adhésion sera validée.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Welcome_Accepted_public','Votre demande d''inscription a été acceptée.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','Welcome_Accepted_Verified','Votre demande d''inscription a été enregistrée.  Vous allez recevoir un courriel avec un code de validation que vous devrez utiliser pour entrer sur le site web la première fois.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumAnonymous','Vous devez ouvrir une session pour pouvoir écrire des messages dans le forum.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Forum','<div style="TEXT-ALIGN: center"><span class="ItemTitle">UTILISATION DU FORUM {portalname}</span><br />
</div>
<ul type="disc" compact="compact">
    <li><strong>Ajouter un message: </strong>Pour ajouter un fil de discussion vous pouvez utiliser l''hyperlien en haut &agrave; gauche de l''&eacute;cran <input class="button" id="NewTopic1" title="Ajouter un nouveau fil de discussion" type="submit" name="NewTopic1" value="Nouveau" /> </li>
    <li><strong>Pr&eacute;f&eacute;rences: </strong>Pour modifier vos param&egrave;tres personnel, tel que votre pseudomyne, d&eacute;signer un avatar pour vous identifier, choisir un &eacute;diteur de texte, changer le th&egrave;me du forum, d&eacute;terminer une signature automatique ainsi que la zone horaire pour vos message.<span class="CommandButton"><a title="Préférences" href=""><img title="Préférences" alt="" border="0" src="/images/ttt/TTT_s_profile.gif" /></a>Pr&eacute;f&eacute;rences</span> </li>
    <li><strong>Messagerie: </strong>La messagerie vous permet de faire parvenir des messages aux membres. Un avis courriel sera exp&eacute;di&eacute; au destinataire du message pour l''informer qu''un message est disponible sur le site web. <span class="CommandButton"><a title="Messagerie" href=""><img title="Messagerie" alt="" border="0" src="/images/ttt/TTT_s_pms.gif" /></a>Messagerie</span> </li>
    <li><strong>Modifier ou effacer: </strong>Vous pouvez en tout temps modifier ou effacer un de vos messages. </li>
    <li><strong>Ajout d''image: </strong>Vous pouvez ajouter des images &agrave; vos messages. </li>
</ul>
<br />
<p>Le but de ce forum est de permettre aux membres d''&eacute;changer des informations entre eux. </p>
<p>Le r&ocirc;le des mod&eacute;rateurs est de faire respecter les r&egrave;gles d''utilisation du forum.&nbsp; Un mod&eacute;rateur peut, si n&eacute;cessaire, supprimer une discussion ou un message.</p>
<p>Les r&egrave;gles d''utilisation du forum&nbsp;sont: </p>
<p>&nbsp;</p>
<ul>
    <li>Exprimez-vous dans ce forum comme vous le feriez dans une assembl&eacute;e. </li>
    <li>Limitez vos discussions sur des sujets d''int&eacute;r&ecirc;ts concernant {portalname}. </li>
    <li>N''abusez pas de votre pouvoir. Ce n''est pas parce que l''on peut faire quelque chose que l''on a le droit de le faire et ce n''est pas parce que l''on a le droit de faire quelque chose qu''il faut le faire. </li>
    <li>Rappelez vous qu''Internet n''est pas une zone de non droit et qu''on y est rarement compl&egrave;tement anonyme. Sur Internet aussi vous &ecirc;tes cens&eacute;s respecter les lois de votre pays (droits d''auteur, informations illicites, protection de l''int&eacute;grit&eacute; humaine, ...). </li>
    <li>Les participants sont personnellement responsables de leurs &eacute;crits; ils s''interdisent tout propos diffamatoire, injurieux, raciste ou susceptible de tomber sous le coup de la loi. Leur responsabilit&eacute; pourra &ecirc;tre engag&eacute;e en cas de manquement &agrave; cette r&egrave;gle. </li>
    <li>Toute personne d&eacute;sireuse de faire supprimer une discussion lui portant un pr&eacute;judice personnel doit adresser sa plainte par&nbsp;courriel en expliquant le motif de sa demande. </li>
</ul>
<p>Voil&agrave; les quelques r&egrave;gles pas trop contraignantes mais qui permettront &agrave; notre forum de garder sa cr&eacute;dibilit&eacute;. </p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ModuleSettings','<h1 align="center">Param&egrave;tres d''un Module</h1>
<ul>
    <li>
    <div align="left">Titre : Il est obligatoire d''avoir un titre, le titre du module appara&icirc;tra seulement si la case a cocher est activ&eacute;e.</div>
    </li>
    <li>
    <div align="left">Langue :&nbsp; Le module sera affich&eacute; seulement sur la page avec la langue choisie, par contre si l''option tout est s&eacute;lectionn&eacute;e, le module sera affich&eacute; pour toutes les langues.&nbsp; Utilisation de tout peut compliquer le positionnement du module sur la page.</div>
    </li>
    <li>
    <div align="left">D&eacute;placer :&nbsp; Il est possible de d&eacute;placer le module sur une autre page en utilisant cette option.</div>
    </li>
    <li>
    <div align="left">Personnalisation :&nbsp; Pour permettre l''option de + et - du module sur la page.</div>
    </li>
    <li>
    <div align="left">Mise en cache : Pour mettre en cache le module.&nbsp;&nbsp;Utilisation de cette option acc&eacute;l&egrave;re la cr&eacute;ation de la page puisque l''information utilis&eacute; est&nbsp;celle qui&nbsp;est en m&eacute;moire.&nbsp; Par contre,&nbsp;cette option ne devrait pas &ecirc;tre utilis&eacute; pour un module avec de l''information dynamique.</div>
    </li>
    <li>
    <div align="left">Voir : Pour d&eacute;signer les param&egrave;tres de s&eacute;curit&eacute; des comptes utilisateurs autoris&eacute;s &agrave; voir le module.</div>
    </li>
    <li>
    <div align="left">Modifier : Pour d&eacute;signer les param&egrave;tres de s&eacute;curit&eacute; des comptes utilisateur autoris&eacute;s &agrave; modifier les informations du module.</div>
    </li>
    <li>
    <div align="left">Habillage du module : Option pour cr&eacute;er et modifier l''habillage du module.</div>
    </li>
</ul>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_PMSInbox','Messages reçus',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_PMSCompose','Pour écrire un message à un autre membre du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_AdminMenu','Le menu vous donne toutes les options accessibles pour administrer le portail.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_FileManager','Fonction de paramétrisation.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language0','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language5','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language1','DisplayHelp_Language1',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language7','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language8','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language9','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language6','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language2','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language4','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SQL','Fonction d''ajout et de modification.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_BulkEmail','Vous pouvez faire parvenir un courriel au usagers du site.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Demo','<table width="80%" border="0" align="center">
    <tbody>
        <tr>
            <td> <span style="" class="ItemTitle"> Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span>  <br /> <br /> <span class="ItemTitle"> COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span>  <br /> <br /> Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.  <br /> <br /> <span class="ItemTitle"> MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span>  <br /> <br /> {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle"> UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span>  <br /> <br /> Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}.  <br /> <br /> <span class="ItemTitle"> LIENS VERS DES SITES TIERS </span>  <br /> <br /> Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites.  <br /> <br /> <span class="ItemTitle"> UTILISATION ILLICITE OU INTERDITE</span>  <br /> <br /> Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle">QUESTIONS</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br /> <br /> </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_DiscussDetails','<div style="text-align: center;">
<h1>&Eacute;crire un nouveau message</h1>
<br />
<div style="text-align: left;">Vous devez saisir un titre ainsi que du contenu dans le message avant de l''enregistrer.<br />
<br />
Les codes HTML ne sont pas permits.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Discussions','Ce module affiche un groupe de message sur une matière spécifique. La discussion permet aux utilisateurs autorisés de répondre aux messages ou d''en ajouter un nouveau.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditAccessDenied','Vous n''avez pas accès à cette page.  Si vous n''avez pas ouvert une session vous devriez essayer maintenant.  Il est possible que votre session est expiré après une inactivité de plus que 20 minutes.  Il est aussi possible que votre accès à cette fonction ai été révoqué par le webmestre.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditAlbum','Option de modification et d''ajout de fichier de l''album photo',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditBaners','Options de modification et de paramétrage pour les oriflammes.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditBanners','Fonction d''ajout et de modification pour les oriflammes',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditContacts','<h1 style="text-align: center;">CONTACTS</h1>
<br />
<br />
<br />
Le module est une base de donn&eacute;e simple pour g&eacute;rer et afficher une liste de contacts.<br />
<br />
Cinq champs sont disponibles.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditDirectory','Fonction d''ajout et de modification',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditDocs','<div style="text-align: center;">
<h1>DOCUMENTS</h1>
<div style="text-align: left;">Le module documents est utile pour structurer un liste de documents disponible pour le t&eacute;l&eacute;chargement.<br />
<br />
<ul>
    <li>Le titre est obligatoire et sera afficher dans la liste pour d&eacute;crire le ficher.</li>
    <li>L''option document inter/externe est pour d&eacute;signer l''emplacement du ficher.</li>
    <li>L''option cat&eacute;gorie est pour aider les usagers &agrave; d&eacute;terminer le type de fichier.</li>
    <li>L''option syndication doit &ecirc;tre coch&eacute; pour inclure le document dans la liste RSS (XML) de syndication.</li>
    <li>Pour g&eacute;n&eacute;rer &agrave; nouveau le fichier RSS (XML) vous devez utiliser l''option &quot;Contenu en syndication&quot;</li>
    <li>Cliquer sur l''option voir statistiques pour afficher le nombre de t&eacute;l&eacute;chargement du fichier.</li>
</ul>
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditEvents','<h1 style="text-align: center;">Ev&eacute;nements</h1>
Param&egrave;tres : <br />
<br />
<ul>
    <li>Format : Les &eacute;v&egrave;nements peuvent &ecirc;tre affich&eacute;s soit en liste ou dans un calendrier.</li>
    <li>Calendrier : Vous pouvez d&eacute;signer la largeur et hauteur minimale des cellules du calendrier.</li>
</ul>
Options obligatoires :<br />
<ul>
    <li>Titre : sera afficher pour d&eacute;signer l''&eacute;v&egrave;nement dans la liste ou dans le calendrier si l''ic&ocirc;ne est absent.</li>
    <li>Description : sera afficher en info bulle.</li>
    <li>Texte alternatif : Pour remplacement si jamais l''ic&ocirc;ne ne s''affiche pas</li>
    <li>Date de d&eacute;but : Date &agrave; lequel l''&eacute;v&egrave;nement sera afficher.</li>
</ul>
Options facultatives :<br />
<ul>
    <li>Intervalles : Choisir l''intervalle en jours, semaine, mois et le nombre.</li>
    <li>Date de fin : Pour un &eacute;v&egrave;nement sur plusieurs jours</li>
</ul>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditFAQ','<div style="text-align: center;">
<h1>Questions r&eacute;p&eacute;titives</h1>
<div style="text-align: left;">Saisir une question ainsi qu''une r&eacute;ponse.<br />
<br />
Il n''y a aucune limite au nombre de question.<br />
<br />
Un info bulle affichera la r&eacute;ponse lorsque l''utilisateur fera pass&eacute; la souris au dessus de la question.<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditHTML','<div style="text-align: center;">
<h1>HTML/TEXTE</h1>
</div>
<ul>
    <li>Option texte :&nbsp; &Eacute;diteur de base en mode texte &quot;TextBox&quot;.&nbsp; L''&eacute;diteur accepte tous les codes HTML.</li>
    <li>Option HTML : Avec firefox et microsoft exploreur, vous pourrez utilisez un &eacute;diteur HTML enrichie.</li>
</ul>
<br />
Si vous utilisez le module de recherche, vous pouvez saisir des informations additionnelles facultatives.<br />
<br />
<br />
<br />
<br />
<br />',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditIFrame','<h1 style="text-align: center;">IFRAME</h1>
L''&eacute;l&eacute;ment <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/present/frames.html#edef-IFRAME"><samp class="einst">IFRAME</samp></a> permet aux auteurs d''ins&eacute;rer un cadre dans un bloc de texte. L''insertion d''un cadre en-ligne dans un passage textuel revient un peu &agrave; y ins&eacute;rer un objet via l''&eacute;l&eacute;ment <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#edef-OBJECT"><samp class="einst">OBJECT</samp></a>&nbsp;: ces &eacute;l&eacute;ments permettent tous deux l''insertion d''un document <abbr lang="en" title="HyperText Markup Language">HTML</abbr> au sein d''un autre, ils peuvent tous deux &ecirc;tre align&eacute;s sur le texte environnant, etc.
<p>Les informations qui doivent &ecirc;tre ins&eacute;r&eacute;es en-ligne sont d&eacute;sign&eacute;es par l''attribut <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/interact/forms.html#adef-src"><samp class="ainst-IFRAME">src</samp></a> de cet &eacute;l&eacute;ment. Par contre, le <em>contenu</em> de l''&eacute;l&eacute;ment <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/present/frames.html#edef-IFRAME"><samp class="einst">IFRAME</samp></a> ne devraient &ecirc;tre affich&eacute; que par les agents utilisateurs qui ne reconnaissent pas les cadres ou qui sont configur&eacute;s pour ne pas les afficher.</p>
<div class="example">
<p>Pour les agents utilisateurs qui reconnaissent les cadres, l''exemple suivant placera un cadre en-ligne, entour&eacute; par une bordure, au milieu du texte.</p>
<pre>  &lt;IFRAME src=&quot;foo.html&quot; width=&quot;400&quot; height=&quot;500&quot;<br />             scrolling=&quot;auto&quot; frameborder=&quot;1&quot;&gt;<br />  [Votre agent utilisateur ne reconna&icirc;t pas les cadres ou n''est pas<br />  configur&eacute; pour les afficher pour l''instant. Cependant, vous pouvez visiter le<br />  &lt;A href=&quot;foo.html&quot;&gt;document concern&eacute;.&lt;/A&gt;]<br />  &lt;/IFRAME&gt;<br /></pre>
</div>
<p>Les cadres en-ligne ne peuvent pas &ecirc;tre redimensionn&eacute;s (et donc n''acceptent pas l''attribut <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/present/frames.html#adef-noresize"><samp class="ainst">noresize</samp></a>).</p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditImage','<div style="text-align: center;">
<h1>IMAGE</h1>
<p style="text-align: left;">L''&eacute;l&eacute;ment <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#edef-IMG"><samp class="einst">IMG</samp></a> incorpore une image dans le document courant, &agrave; l''emplacement de la d&eacute;finition de l''&eacute;l&eacute;ment. L''&eacute;l&eacute;ment <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#edef-IMG"><samp class="einst">IMG</samp></a> n''a pas de contenu&nbsp;; il est g&eacute;n&eacute;ralement remplac&eacute; dans la ligne par l''image que d&eacute;signe l''attribut <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#adef-src-IMG"><samp class="ainst-IMG">src</samp></a>, les images align&eacute;es &agrave; gauche ou &agrave; droite qui &laquo;&nbsp;<a href="http://www.la-grange.net/w3c/html4.01/present/graphics.html#floating">flottent</a>&nbsp;&raquo; hors de la ligne faisant exception.</p>
<div style="text-align: left;"> </div>
<div class="example" style="text-align: left;"><br />
</div>
<div style="text-align: left;"> </div>
<p style="text-align: left;">L''attribut <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#adef-alt"><samp class="ainst">alt</samp></a> sp&eacute;cifie le texte de remplacement qui sera restitu&eacute; si l''image ne peut s''afficher (voir ci-dessous pour des pr&eacute;cisions sur <a href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#alternate-text">la mani&egrave;re de sp&eacute;cifier un texte de remplacement</a>). Les agents utilisateurs doivent restituer le texte de remplacement quand ceux-ci ne g&egrave;rent pas les images, ne reconnaissent pas un certain type d''image ou ne sont pas configur&eacute;s par afficher les images.</p>
<div style="text-align: left;"> </div>
<div class="example" style="text-align: left;">L''attribut <a class="noxref" href="http://www.la-grange.net/w3c/html4.01/struct/objects.html#adef-alt"><samp class="ainst">alt</samp></a> fournit une description br&egrave;ve de l''image.&nbsp; </div>
<div style="text-align: left;"></div>
&nbsp; </div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditLinks','<div style="text-align: center;">
<h1>HYPERLIENS</h1>
<div style="text-align: left;">
<h2>Param&egrave;tres :</h2>
<ul>
    <li>Type de liste :&nbsp; Choisir soit Liste ou Menu d&eacute;roulant selon l''option.</li>
    <li>Type de liste :&nbsp; Si le choix est une liste vous pouvez choisir si elle sera vertical ou horizontal.</li>
    <li>Information hyperlien : Pour afficher ou non la description selon l''option.</li>
    <li>Classe CSS :&nbsp; Si le choix est une liste vous pouvez d&eacute;signer une classe CSS pour formater dans un style CSS l''hyperlien.</li>
</ul>
<h2>Options :</h2>
<ul>
    <li>Titre : Cette information sera le texte de l''hyperlien.</li>
    <li>Hyperlien : Saisir ou choisir l''URL selon le choix.</li>
    <li>Description : Sera afficher en info bulle si vous avez choisi l''option liste.</li>
    <li>Ordre de vue :&nbsp; Pour modifier l''ordre dans lequel les hyperliens seront affich&eacute;s &agrave; l''&eacute;cran.</li>
    <li>Afficher dans une nouvelle fen&ecirc;tre : Choisir l''option pour qu''une nouvelle fen&ecirc;tre s''ouvre.</li>
    <li>Voir statistiques : Cocher l''option pour visionner les statistiques d''utilisation de l''hyperlien.</li>
</ul>
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditMapGoogle','The module, use the Google Maps API in order to show a map.<br />
<br />
Before you start you need to register to GoogleMap and get an API.&nbsp; Click&nbsp; <a href="http://www.google.com/apis/maps/signup.html" class="CommandButton" id="edit_hypgetAPI">Get Google API</a>.<br />
<br />
<br />
Enter the information to seek the map.&nbsp; Once the Adresse you wish to show is entered, you can generate a Lat and Long.<br />
<br />
Select the various options for the map and generate a script.&nbsp; You can edit the script to personalise the map if need be.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditRole','Fonction de paramétrisation.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditRSS','<div style="text-align: center;">
<h1>Syndication RSS</h1>
</div>
<ul>
    <li>Fichier RSS :&nbsp; Vous pouvez d&eacute;signer un ficher interne ou externe.</li>
    <li>Ficher XLS : Pour mettre en forme le contenu du flux RSS.</li>
</ul>
<p>&nbsp;</p>
<h2>Explication :</h2>
<p><br />
Un <strong>flux RSS</strong> ou <strong>fil RSS</strong> (&quot;RSS feed&quot; en anglais), <a href="http://fr.wikipedia.org/wiki/Sigle" title="Sigle" target="_blank">sigle</a> de <strong>Really Simple Syndication</strong> (<em>souscription vraiment simple</em>), ou de <strong>Rich Site Summary</strong> (Sommaire d&eacute;velopp&eacute; de site) est un format de <a href="http://fr.wikipedia.org/wiki/Syndication" title="Syndication" target="_blank">syndication</a> de contenu <a href="http://fr.wikipedia.org/wiki/Web" title="Web" target="_blank">Web</a>, cod&eacute; sous forme <a href="http://fr.wikipedia.org/wiki/XML" title="XML" target="_blank">XML</a>. Ce syst&egrave;me permet de diffuser en temps r&eacute;el les nouvelles des sites d''information ou des <a href="http://fr.wikipedia.org/wiki/Blog" title="Blog" target="_blank">blogs</a>, ce qui permet de rapidement consulter ces derni&egrave;res sans visiter le site.<br />
</p>
<div style="text-align: center;">
<h1>Document RSS</h1>
</div>
<p>Le contenu d''un document RSS se situe toujours entre les <a title="Langage de balisage" href="http://fr.wikipedia.org/wiki/Langage_de_balisage" target="_blank">balises</a> <em>&lt;rss&gt;</em>. Elles poss&egrave;dent obligatoirement un attribut version qui sp&eacute;cifie la version &agrave; laquelle le document RSS est conforme.</p>
<p>Au niveau suivant de cette <a title="Langage de balisage" href="http://fr.wikipedia.org/wiki/Langage_de_balisage" target="_blank">balise</a> se trouve une unique balise <em>&lt;channel&gt;</em> qui contiendra les <a title="M&eacute;tadonn&eacute;e" href="http://fr.wikipedia.org/wiki/M%C3%A9tadonn%C3%A9e" target="_blank">m&eacute;tadonn&eacute;es</a> du flux RSS, obligatoires ou non, ainsi que la liste des contenus.</p>
<p><em><strong>1. <a title="M&eacute;tadonn&eacute;e" href="http://fr.wikipedia.org/wiki/M%C3%A9tadonn%C3%A9e" target="_blank">M&eacute;tadonn&eacute;es</a></strong></em><br />
En ce qui concerne les <a title="M&eacute;tadonn&eacute;e" href="http://fr.wikipedia.org/wiki/M%C3%A9tadonn%C3%A9e" target="_blank">m&eacute;tadonn&eacute;es</a>, trois &eacute;l&eacute;ments sont obligatoires :</p>
<ul>
    <li><em>&lt;title&gt;</em> : D&eacute;finit le titre du flux</li>
    <li><em>&lt;link&gt;</em> : D&eacute;finit l''<a title="URL" href="http://fr.wikipedia.org/wiki/URL" target="_blank">URL</a> du site correspondant au flux</li>
    <li><em>&lt;description&gt;</em> : D&eacute;crit succinctement le flux</li>
</ul>
<p>D''autre &eacute;l&eacute;ments optionnels existent comme :</p>
<ul>
    <li><em>&lt;pubDate&gt;</em> : D&eacute;finit la date de publication du flux</li>
    <li><em>&lt;image&gt;</em> : Permet d''ins&eacute;rer une image dans le flux</li>
    <li><em>&lt;language&gt;</em> : D&eacute;finit la langue du flux</li>
</ul>
<p><em><strong>2. Contenu : Description de chaque article</strong></em><br />
Pour chaque article, une balise <em>&lt;item&gt;</em> est ajout&eacute;e dans notre document. Dans cette balise se trouvent les <a title="Donn&eacute;e" href="http://fr.wikipedia.org/wiki/Donn%C3%A9e" target="_blank">donn&eacute;es</a> correspondantes &agrave; l''actualit&eacute; sous forme de <a title="Langage de balisage" href="http://fr.wikipedia.org/wiki/Langage_de_balisage" target="_blank">balise</a>.<br />
Les balises les plus courantes sont:</p>
<ul>
    <li><em>&lt;title&gt;</em> : D&eacute;finit le titre de l''actualit&eacute;.</li>
    <li><em>&lt;link&gt;</em> : D&eacute;finit l''<a title="URL" href="http://fr.wikipedia.org/wiki/URL">URL</a> du flux correspondant &agrave; l''actualit&eacute;.</li>
    <li><em>&lt;pubDate&gt;</em> : D&eacute;finit la date de l''actualit&eacute;.</li>
    <li><em>&lt;description&gt;</em> : D&eacute;finit une description succincte de l''actualit&eacute;.</li>
</ul>
<p>D''autres balises existent comme:</p>
<ul>
    <li><em>&lt;author&gt;</em> : D&eacute;finit l''adresse &eacute;lectronique (mail) de l''auteur.</li>
    <li><em>&lt;category&gt;</em> : Associe l''item &agrave; une cat&eacute;gorie.</li>
    <li><em>&lt;comments&gt;</em> : D&eacute;finit l''<a title="URL" href="http://fr.wikipedia.org/wiki/URL">URL</a> d''une page de commentaire en rapport avec l''item.</li>
</ul>
<p>&nbsp;</p>
<div style="text-align: center;">
<h1>DOCUMENT XSL</h1>
<div style="text-align: left;">
<p><strong>XSL</strong> (<em>eXtensible Stylesheet Language</em>) est le langage de description de <a href="http://fr.wikipedia.org/wiki/Feuilles_de_style" title="Feuilles de style">feuilles de style</a> du <a href="http://fr.wikipedia.org/wiki/W3C" title="W3C">W3C</a> associ&eacute; &agrave; <a href="http://fr.wikipedia.org/wiki/Extensible_markup_language" title="Extensible markup language">XML</a>.</p>
<p>Une <a href="http://fr.wikipedia.org/wiki/Feuille_de_style" title="Feuille de style">feuille de style</a> XSL est un fichier qui d&eacute;crit comment doivent &ecirc;tre pr&eacute;sent&eacute;s (c''est-&agrave;-dire affich&eacute;s, imprim&eacute;s, &eacute;pel&eacute;s) les documents <a href="http://fr.wikipedia.org/wiki/XML" title="XML">XML</a> bas&eacute;s sur une m&ecirc;me <a href="http://fr.wikipedia.org/wiki/DTD" title="DTD">DTD</a> ou un m&ecirc;me <a href="http://fr.wikipedia.org/wiki/XML_Sch%C3%A9ma" title="XML Sch&eacute;ma">sch&eacute;ma</a>.</p>
<p>La sp&eacute;cification est divis&eacute;e en trois parties&nbsp;:</p>
<ul>
    <li><a href="http://fr.wikipedia.org/wiki/Extended_stylesheet_language_transformations" title="Extended stylesheet language transformations">XSLT</a>, le langage de <a href="http://xmlfr.org/w3c/TR/xslt/">transformation</a></li>
    <li><a href="http://fr.wikipedia.org/wiki/XPath" title="XPath">XPath</a>, le langage de navigation dans un document <a href="http://fr.wikipedia.org/wiki/XML" title="XML">XML</a></li>
    <li><a href="http://fr.wikipedia.org/wiki/XSL-FO" title="XSL-FO">XSL-FO</a>, le vocabulaire <a href="http://fr.wikipedia.org/wiki/XML" title="XML">XML</a> de mise en forme</li>
</ul>
</div>
</div>
<h1 class="firstHeading" style="text-align: center;">Wikip&eacute;dia:Syndication</h1>
<h3 id="siteSub">Un article de Wikip&eacute;dia, l''encyclop&eacute;die libre.</h3>
<div id="jump-to-nav">Aller &agrave; : <a href="http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Syndication#column-one">Navigation</a>, <a href="http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Syndication#searchInput">Rechercher</a></div>
<!-- start content -->
<p><a id="Fils_RSS_de_Wikip.C3.A9dia" name="Fils_RSS_de_Wikip.C3.A9dia"></a></p>
<h2><span class="mw-headline">Fils <a title="Really Simple Syndication" href="http://fr.wikipedia.org/wiki/Really_Simple_Syndication">RSS</a> de Wikip&eacute;dia</span>  <span class="editsection" style="font-size: xx-small; font-weight: normal; float: none;">[<a title="Modifier la section&nbsp;: Fils RSS de Wikip&eacute;dia" href="http://fr.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:Syndication&amp;action=edit&amp;section=1">modifier</a>]</span></h2>
<ul>
    <li><a rel="nofollow" title="http://fr.wikipedia.org/w/index.php?title=Special:Recentchanges&amp;feed=rss" class="external text" href="http://fr.wikipedia.org/w/index.php?title=Special:Recentchanges&amp;feed=rss">Modifications r&eacute;centes</a></li>
    <li><a rel="nofollow" title="http://fr.wikipedia.org/w/index.php?title=Special:Newpages&amp;feed=rss" class="external text" href="http://fr.wikipedia.org/w/index.php?title=Special:Newpages&amp;feed=rss">Nouvelles pages</a></li>
</ul>
<p><a id="Fils_Atom_.281.0.29_de_Wikip.C3.A9dia" name="Fils_Atom_.281.0.29_de_Wikip.C3.A9dia"></a></p>
<h2><span class="mw-headline">Fils <a title="Atom" href="http://fr.wikipedia.org/wiki/Atom">Atom</a> (1.0) de Wikip&eacute;dia</span>  <span class="editsection" style="font-size: xx-small; font-weight: normal; float: none;">[<a title="Modifier la section&nbsp;: Fils Atom (1.0) de Wikip&eacute;dia" href="http://fr.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:Syndication&amp;action=edit&amp;section=2">modifier</a>]</span></h2>
<ul>
    <li><a rel="nofollow" title="http://fr.wikipedia.org/w/index.php?title=Special:Recentchanges&amp;feed=atom" class="external text" href="http://fr.wikipedia.org/w/index.php?title=Special:Recentchanges&amp;feed=atom">Modifications r&eacute;centes</a></li>
    <li><a rel="nofollow" title="http://fr.wikipedia.org/w/index.php?title=Special:Newpages&amp;feed=atom" class="external text" href="http://fr.wikipedia.org/w/index.php?title=Special:Newpages&amp;feed=atom">Nouvelles pages</a></li>
</ul>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditSearch','<div style="text-align: center;">
<h1>Recherche</h1>
<div style="text-align: left;">Choisir les options d''affichage du r&eacute;sultat de recherche.<br />
<br />
Vous devez aussi choisir les d&eacute;finitions de module ainsi que les champs de recherche.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditUserDefinedTable','Vous permet de créer un tableau sur mesure et d''y afficher des données.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditVendors','<div style="text-align: center;">
<h1>Inscription fournisseur</h1>
<div style="text-align: left;">Il est important de saisir toutes les informations sur compagnie.&nbsp; Les usagers pourront faire une recherche, donner&nbsp; des r&eacute;troactions et chercher une direction vers votre commerce.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditXML','<h1 style="text-align: center;">XML/XSL</h1>
<br />
Ce module rend le r&eacute;sultat d''un XML/XSL transforment. Les dossiers de XML et de XSL sont identifi&eacute;s par leurs chemins d''UNC dans les propri&eacute;t&eacute;s de xmlsrc et de xslsrc du module. Le module de Xml/Xsl inclut une page d''&eacute;dition, l''information est stock&eacute;s dans la base de donn&eacute;es de SQL.<br />
<br />
<strong>XML</strong> (<em>Extensible Markup Language</em> <span style="cursor: help;"><span title="Langue : anglais" style="font-family: monospace; font-weight: bold; font-size: small;">(en)</span></span><sup class="reference" id="_ref-0"><a title="" href="http://fr.wikipedia.org/wiki/XML#_note-0"><span class="cite_crochet">[</span>1<span class="cite_crochet">]</span></a></sup>, &laquo;&nbsp;langage de balisage extensible&nbsp;&raquo;) est un <a title="Langage informatique" href="http://fr.wikipedia.org/wiki/Langage_informatique">langage informatique</a> de <a title="Langage de balisage" href="http://fr.wikipedia.org/wiki/Langage_de_balisage">balisage</a> <em>g&eacute;n&eacute;rique</em>. Le <a title="World Wide Web Consortium" href="http://fr.wikipedia.org/wiki/World_Wide_Web_Consortium">W3C</a> recommande XML pour exprimer des langages de balisages <em>sp&eacute;cifiques</em> (exemples&nbsp;: <a title="XHTML" href="http://fr.wikipedia.org/wiki/XHTML">XHTML</a>, <a title="SVG" href="http://fr.wikipedia.org/wiki/SVG">SVG</a>, <a title="XSLT" href="http://fr.wikipedia.org/wiki/XSLT">XSLT</a>). Son objectif initial est de faciliter l''&eacute;change automatis&eacute; de contenus entre <a title="Système d''information" href="http://fr.wikipedia.org/wiki/Syst%C3%A8me_d%27information">syst&egrave;mes d''informations</a> h&eacute;t&eacute;rog&egrave;nes, notamment, sur <a title="Internet" href="http://fr.wikipedia.org/wiki/Internet">Internet</a>. XML est un sous-ensemble de <a title="SGML" href="http://fr.wikipedia.org/wiki/SGML">SGML</a> dont il retient plusieurs principes dont&nbsp;: la structure d''un document XML est d&eacute;finissable et validable par un <a title="DSDL" href="http://fr.wikipedia.org/wiki/DSDL">sch&eacute;ma</a>, un document XML est enti&egrave;rement <a title="Langage de transformation XML" href="http://fr.wikipedia.org/wiki/Langage_de_transformation_XML">transformable</a> dans un autre document XML. Cette syntaxe est reconnaissable par son usage des <em>chevrons</em> (&lt; &gt;), elle s''applique &agrave; de plus en plus de contenus.<br />
<br />
<p><span style="font-weight: bold;">XSL</span> Cette sp&eacute;cification d&eacute;finit la syntaxe et la s&eacute;mantique    de XSLT, qui est un langage permettant de transformer des documents XML en d''autres    documents XML. </p>
<p>XSLT est con&ccedil;u pour &ecirc;tre utilis&eacute; comme une partie de XSL, le langage des feuilles de style de XML. En plus de XSLT, XSL inclus un vocabulaire XML pour la sp&eacute;cification de formatage. XSL sp&eacute;cifie les r&egrave;gles de pr&eacute;sentation d''un document XML en utilisant XSLT pour d&eacute;crire comment le document peut &ecirc;tre transform&eacute; en un autre document qui utilise le vocabulaire de formatage. </p>
<p>XSLT est aussi con&ccedil;u pour &ecirc;tre utilis&eacute; ind&eacute;pendamment de XSL. Cependant, XSLT n''est pas cens&eacute; &ecirc;tre utilis&eacute; comme un langage de transformation XML &agrave; vocation g&eacute;n&eacute;rale. Il a surtout &eacute;t&eacute; con&ccedil;u pour les types de transformations n&eacute;cessaires lorsque XSLT est utilis&eacute; comme une partie de XSL.</p>
<p><br />
</p>
<br />',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumAdmin','Fonction de paramétrisation du forum.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumSettings','<h1 align="center">Param&eacute;trisation du forum</h1>
<ul>
    <li>
    <div align="left">Avatars :</div>
    </li>
    <li>
    <div align="left">Courriel :</div>
    </li>
    <li>
    <div align="left">Affichage :</div>
    </li>
    <li>
    <div align="left">User Online :</div>
    </li>
    <li>
    <div align="left">Galerie :</div>
    </li>
</ul>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumUserAdmin','Fonction de paramétrisation du forum.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumUserProfile','Fonction de paramétrisation du forum.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_GalleryAdmin','Le module est un système de gestion des fichiers images, photos, médias.<br>Dans chaque album vous pouvez avoir des sous albums sans avoir à créer un nouvel album sur une page.  Vous pouvez assigner un fichier gif ou jpg pour l''image de chaque répertoire si vous désirez.  Pour ce faire vous devez utiliser la petite baguette magique sous l''icône du répertoire.  Pour modifier l''icône par défaut, vous devrez mettre un nouvel icône dans le répertoire _res  avec le même non que le non du répertoire que vous voulez modifier l''apparence.  Vous pouvez aussi modifier l''icône pour les fichiers vidéo ou flash.<br><br>Pour ajouter des fichiers média ou ajouter un sous-album vous devez utiliser l''option modifier album/images.<br><br>Les fichiers seront réduits selon la tailles que vous avez déterminer dans les paramètres de l''album.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_HostSettings','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language10','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Language3','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ManageTabs','<h1 align="center">Param&egrave;tres page</h1>
<ul>
    <li>
    <div align="left">Nom : Le nom est obligatoire et d&eacute;terminera le nom de la page .aspx pour y avoir acc&egrave;s par l''url.&nbsp; Si vous utilisez plus d''une langue pour le site, vous pouvez avoir un nom diff&eacute;rent pour chaque langue.</div>
    </li>
    <li>
    <div align="left">Ic&ocirc;ne : Pour choisir un ic&ocirc;ne pour afficher &agrave; gauche du nom dans le menu.</div>
    </li>
    <li>
    <div align="left">Page parente : Pour d&eacute;terminer la hi&eacute;rachie de la page.&nbsp;</div>
    </li>
    <li>
    <div align="left">Fichier CSS :&nbsp; Si vide le fichier portal.css sera utilis&eacute;, sinon le fichier d&eacute;sign&eacute; sera utilis&eacute; &agrave; la place.</div>
    </li>
    <li>
    <div align="left">Mise en forme : Si vide le fichier portal.skin sera utilis&eacute;, sinon le fichier d&eacute;sign&eacute; sera utilis&eacute; &agrave; la place</div>
    </li>
    <li>
    <div align="left">Visible :&nbsp; Pour que la page soit disponible par le menu, sinon la page et l''hyperlien ne sera pas disponible dans le menu.</div>
    </li>
    <li>
    <div align="left">Hyperlien : Pour d''&eacute;sactiv&eacute; l''hyperlien dans le menu.</div>
    </li>
    <li>
    <div align="left">Volet gauche et droite : Chaque page &agrave; trois volet, donc pour d&eacute;terminer en pixels la largeur minimal des volets gauche et droite.</div>
    </li>
    <li>
    <div align="left">Modifier :&nbsp; Param&egrave;tres de s&eacute;curit&eacute; pour d&eacute;signer les comptes utilisateurs qui pourront modifier les param&egrave;tres de la page ainsi que l''ajout et la suppression de module sur la page.</div>
    </li>
    <li>
    <div align="left">Voir : Param&egrave;tres de s&eacute;cuti&eacute; pour d&eacute;signer les comptes utilisateur qui pourront consulter cette page.</div>
    </li>
</ul>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ManageUsers','<h1 align="center">Modification</h1>
<ul>
    <li>
    <div align="left">Modification des informations personnel d''un compte usager.</div>
    </li>
    <li>
    <div align="left">Courriel :&nbsp; Assurez vous que l''adresse de courriel est valide.</div>
    </li>
    <li>
    <div align="left">M&ocirc;t de passe :&nbsp; Pour une question de s&eacute;curit&eacute; il est recommand&eacute; d''utilis&eacute; un m&ocirc;t de passe avec un minium de 8 caract&egrave;res.&nbsp; Une combination de lettre et de chiffre est recommand&eacute;.</div>
    </li>
    <li>
    <div align="left">Code d''acc&egrave;s :&nbsp; Il est possible de modifier le code d''acc&egrave;s, par contre le c&ocirc;de d''acc&egrave;s doit &ecirc;tre unique sur le site web.</div>
    </li>
</ul>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ModerateAdmin','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ModuleDefinitions','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ModuleDefs','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Portals','Fonction de paramétrisation des site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Register','<table width="80%" border="0" align="center">
    <tbody>
        <tr>
            <td>
<span style="" class="ItemTitle">
Vous devez saisir toutes les informations requises.  Soyez assurez que nous ne dilvulgerons pas cette information à des tierces parties.  Tous les renseignements personnels  sont conservés et protégés en vertu de la Loi sur la protection des renseignements personnels.  Nous vous demandons de lire la déclaration de confidentialité ainsi que les conditions générales d''utilisation sur site web.  Si vous désirez plus d''information ou d''aide veuillez nous écrire.</span><br /><br />
 <br /> <br /> <span style="" class="ItemTitle">D&eacute;claration de confidentialit&eacute;</span> <br /> <br /> {PortalName} est d&eacute;termin&eacute; &agrave; offrir un site Web qui respectent la vie priv&eacute;e des visiteurs. Cette page r&eacute;sume la politique et les pratiques de {PortalName} en ce qui concerne la protection des renseignements personnels sur le sites Web. <br /> <br /> <span class="ItemTitle">Renseignements personnels</span> <br /> <br /> Le site Web de {PortalName} ne saisis pas automatiquement de renseignements personnels vous concernant express&eacute;ment comme votre nom, votre num&eacute;ro de t&eacute;l&eacute;phone ou votre adresse &eacute;lectronique. Nous aurons acc&egrave;s &agrave; ce genre de renseignements uniquement si vous nous les fournissez en les inscrivant dans une section prot&eacute;g&eacute;e du site. Tous les renseignements personnels conserv&eacute;s ou saisis par le {PortalName} sont prot&eacute;g&eacute;s en vertu de la Loi sur la protection des renseignements personnels. Cela signifie qu''&agrave; chaque point de saisie, on vous demandera votre consentement avant de recueillir des renseignements vous concernant et on vous informera des fins pour lesquelles ces renseignements sont saisis et de la fa&ccedil;on dont vous pouvez exercer votre droit d''acc&egrave;s &agrave; ces renseignements. <br /> <br /> <span class="ItemTitle">Logiciel de protection</span> <br /> <br /> {PortalName} utilise un logiciel qui surveille la transmission des donn&eacute;es sur le r&eacute;seau pour d&eacute;celer toute tentative non autoris&eacute;e de t&eacute;l&eacute;charger ou de modifier des renseignements ou de causer d''autres dommages. Ce logiciel re&ccedil;oit et inscrit le protocole Internet (PI) de l''ordinateur qui est entr&eacute; en communication avec notre site Web, la date et l''heure de la visite et les pages consult&eacute;es. Nous n''essayons pas d''&eacute;tablir de liens entre ces adresses et l''identit&eacute; des personnes qui visitent notre site, &agrave; moins que nous n''ayons d&eacute;cel&eacute; une manoeuvre visant &agrave; endommager le site. <br /> <br /> <span class="ItemTitle">Utilisation des t&eacute;moins (cookies)</span> <br /> <br /> {PortalName} utilise &agrave; l''occasion des &laquo; t&eacute;moins &raquo; afin de d&eacute;terminer comment les visiteurs utilisent ce site ou les sites qu''ils ont consult&eacute;s pr&eacute;c&eacute;demment. Les &laquo; t&eacute;moins &raquo; que nous utilisons ne nous permettent pas d''identifier des personnes. Ils servent &agrave; compiler des statistiques sur les habitudes de transmission des donn&eacute;es et &agrave; &eacute;valuer l''efficacit&eacute; du site. Avant d''utiliser un &laquo; t&eacute;moin &raquo;, nous vous en informerons afin que vous ayez la possibilit&eacute; de le refuser; un tel refus n''aura aucun effet sur le rendement du site et aucune limite ne sera impos&eacute;e &agrave; votre capacit&eacute; de consulter des renseignements sur le site. (Un &laquo; t&eacute;moin &raquo; est un fichier qui peut &ecirc;tre plac&eacute; &agrave; votre  insu sur votre unit&eacute; de disque dur et qui sert &agrave; surveiller les visites que vous faites &agrave; un site.)  <br /> <br /> <span class="ItemTitle">S&eacute;curit&eacute; du syst&egrave;me</span> <br /> <br /> L''information relative &agrave; chaque visiteur est utilis&eacute;e par {PortalName} pour r&eacute;pondre &agrave; vos demandes ou assurer la s&eacute;curit&eacute; du syst&egrave;me. Nous n''utilisons pas cette information pour cr&eacute;er des profils pouvant &ecirc;tre identifi&eacute;s individuellement et nous ne la divulguons &agrave; personne de {PortalName}. <br /> <br /> <span class="ItemTitle">Questions</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet de cette politique ou de la fa&ccedil;on dont est appliqu&eacute; la Loi sur la protection des renseignements personnels, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. Si notre r&eacute;ponse &agrave; vos pr&eacute;occupations au sujet de la protection des renseignements personnels ne vous satisfait pas, vous pouvez communiquer avec le <a href="mailto:info@privcom.gc.ca">Commissariat &agrave; la protection de la vie priv&eacute;e.</a> <br /> <br /> <br /><span style="" class="ItemTitle"> Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span>  <br /> <br /> <span class="ItemTitle"> COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span>  <br /> <br /> Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.  <br /> <br /> <span class="ItemTitle"> MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span>  <br /> <br /> {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle"> UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span>  <br /> <br /> Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}.  <br /> <br /> <span class="ItemTitle"> LIENS VERS DES SITES TIERS </span>  <br /> <br /> Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites.  <br /> <br /> <span class="ItemTitle"> UTILISATION ILLICITE OU INTERDITE</span>  <br /> <br /> Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle">QUESTIONS</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br /> <br /> </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_RegisterEditServices','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Roles','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Search','<br />
<br />
<br />
<br />
Vous avez juste a saisir du texte dans la boite de dialogue et cliquer sur go pour d&eacute;marrer la recherche.<br />
<br />
<br />
Les r&eacute;sultats seront afficher avec un hyperlien pour vous permettre d''aller &agrave; la page appropri&eacute;e du site web.<br />
<br />
<br />
<br />
Le texte de recherche sera en surbrillance une fois la recherche compl&eacute;ter.<br />
<br />
<br />',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SecurityRole','Fonction de paramétrisation de la sécurity.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Services','Information sur les services disponible sur le site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Signup','<table width="80%" border="0" align="center">
    <tbody>
        <tr>
            <td> <span style="" class="ItemTitle"> Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span>  <br /> <br /> <span class="ItemTitle"> COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span>  <br /> <br /> Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.  <br /> <br /> <span class="ItemTitle"> MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span>  <br /> <br /> {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle"> UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span>  <br /> <br /> Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}.  <br /> <br /> <span class="ItemTitle"> LIENS VERS DES SITES TIERS </span>  <br /> <br /> Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites.  <br /> <br /> <span class="ItemTitle"> UTILISATION ILLICITE OU INTERDITE</span>  <br /> <br /> Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle">QUESTIONS</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br /> <br /> </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SiteLog','Le module sert à voir les statistiques d''utilisations de votre portail.  Plus particulièrement, qui utilise le site, quand et comment.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SiteSettings1','<table cellspacing="0" cellpadding="0" width="80%" align="center" border="0">
    <tbody>
        <tr>
            <td>Pour modifier l''apparence de votre site vous avez deux fichiers que vous pouvez modifier. Le fichier Portail.CSS et le fichier menu.tpl1.js. Vous trouverez ces fichiers dans votre r&eacute;pertoire racine de votre portail. De plus si vous utilisez le forum et la galerie vous pourrez adapter leurs styles dans le fichier ttt.css. Je vous invite &agrave; utiliser un &eacute;diteur de style css pour modifier les fichiers css. Vous pouvez facilement trouver ce type d''&eacute;diteur sur l''internet. J''utilise acehtml, ce logiciel est disponible en version partagiciel.</td>
        </tr>
    </tbody>
</table>
<br />
<br />
<table cellspacing="0" cellpadding="0" width="80%" align="center" border="2">
    <tbody>
        <tr>
            <td valign="middle" align="center" colspan="3" height="100">
            <h2>Haut de page</h2>
            <br />
            #banner {text-align: left; background: ivory} - Style pour toute la section haut de page<br />
            #logo {background: url(bk.jpg)} - Style pour la tranche horizontale du logo<br />
            .LogoImage {} - Style pour l''image logo mettre width et height pour acc&eacute;l&eacute;rer l''affichage<br />
            #BreadCrumb {background: #f5f5f5;} - pour positioner le menu alternatif<br />
            .bread {font-size: 8px; color: gray; font-family: Wingdings 3} - pour le menu alternatif<br />
            <br />
            </td>
        </tr>
        <tr>
            <td valign="middle" align="center" height="300">
            <h2>Panneau Gauche</h2>
            <br />
            <br />
            .LeftPane { }</td>
            <td valign="middle" align="center" height="300">
            <h2>Panneau Central</h2>
            <br />
            <br />
            .ContentPane { } <br />
            td.line { } - pour une s&eacute;paration conditionnelle entre les panneaux</td>
            <td valign="middle" align="center" height="300">
            <h2>Panneau Droite</h2>
            <br />
            <br />
            .RightPane { }</td>
        </tr>
        <tr>
            <td valign="middle" align="center" colspan="3" height="100">
            <h2>Bas de page</h2>
            <br />
            <br />
            <br />
            #footer {width: 100%; text-align: center } - Pour la section bas de page<br />
            <br />
            .A1 {color: #DCDCDC;} <br />
            <br />
            .A2 {background: #FFFFF0}<br />
            <br />
            div.a2 { border-bottom: Gray 1px solid; border-left: White 1px solid; border-top: White 1px solid; border-right: Gray 1px solid; width: 750}<br />
            <br />
            </td>
        </tr>
    </tbody>
</table>
<br />
<table cellspacing="0" cellpadding="0" width="80%" align="center" border="0">
    <tbody>
        <tr>
            <td>
            <h1>
            <div align="center">Autres &eacute;l&eacute;ments d''importances de la page</div>
            </h1>
            <br />
            <ul type="circle"><br />
                <li><strong>La table principale</strong> - Utiliser le param&egrave;tre CSS #maintable { } pour d&eacute;signer un style qui englobera .leftpane .contentpane et .rightpane<br />
                <br />
                </li>
                <li><strong>Le menu</strong> - Vous trouverez un fichier menu_tp1.js dans votre r&eacute;pertoire racine. Ce fichier d&eacute;termine le param&egrave;tres d''affichages du menu. Pour changer la position du menu vous devez modifier block_top et block_left . Le menu est tr&egrave;s flexible vous pouvez l''afficher ou vous voulez dans l''&eacute;cran vertical ou horizontal. je vous invite &agrave; aller voir la <a title="Info tigra menu" href="http://www.softcomplex.com/products/tigra_menu/docs/">documentation ici</a> <br />
                <br />
                </li>
                <li><strong>Le panneau d''administration</strong> - Pour le panneau d''administration utiliser le param&egrave;tre CSS .admin {z-index: 100; max-width: 370px; top:0; background: silver; border: thin dotted; padding: 4; position: absolute} <br />
                <br />
                </li>
                <li><strong>Le panneau d''ouverture de session</strong> - Pour positionner le menu d''ouverture de session utiliser le param&egrave;tre CSS <br />
                #signin {position: absolute; background: ivory; top: 150px; right: 60px; z-index: 100; border: thin dotted black; width: 160px}<br />
                <br />
                </li>
            </ul>
            <br />
            <div align="center">
            <h2>Un module</h2>
            </div>
            <br />
            La structure de base d''un module est : <br />
            <br />
            <strong>&lt;TABLE cellSpacing=0 cellPadding=0 width=&quot;100%&quot; [BORDER] [COLOR]&gt;<br />
            &nbsp;&nbsp;&lt;TR&gt;<br />
            &nbsp;&nbsp; &lt;TD [ALIGN]&gt;&nbsp;&nbsp;&nbsp;&nbsp;[MODULE]<br />
            &nbsp;&nbsp;&nbsp;&lt;/TD&gt;<br />
            &nbsp;&nbsp;&lt;/TR&gt;<br />
            &lt;/TABLE&gt;</strong><br />
            <br />
            Utiliser la fonction &quot;Modifier les param&egrave;tres du module&quot; pour faire des modifications.<br />
            <ul type="circle"><br />
                <li>Le param&egrave;tre [COLOR] injecte dans le module bgcolor=&quot;xxxxxx&quot;, vous devez utiliser des d&eacute;finitions de couleurs valide HTML.<br />
                <br />
                </li>
                <li>Le param&egrave;tre [ALIGN] injecte dans le module align=&quot;xxxxx&quot;, vous avez trois choix dans une liste. <br />
                <br />
                </li>
                <li>Le param&egrave;tre [BORDER] injecte dans le module border=&quot;xx&quot;.<br />
                <br />
                </li>
                <li>Le param&egrave;tre [CONTAINER] injecte l''info du module, tel que du texte ou tous autres choses que vous avez dans le module.<br />
                </li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SiteSettings2','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SiteSettings3','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SiteSettings4','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_SiteSettings5','Fonction de paramétrisation du site web.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Tabs','Fonction d''ajout et de modification.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Users','Fonction d''ajout et de modification.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Vendors','L''annuaire de service expose la liste de fournisseurs maintenus dans l''étiquette d''Admin. Ce module vous permet de rechercher des fournisseurs basés sur des critères de mot clé.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_WeatherEdit','<br />
<br />
<br />
Sources des donn&eacute;es m&eacute;t&eacute;o. Conditions routi&egrave;res Vous savez comment l''&eacute;tat des routes est important pour votre s&eacute;curit&eacute; lors de la conduite hivernale. Cartes et bulletins saisonniers des pr&eacute;visions M&eacute;t&eacute;o.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_WebUpload','Fonction d''ajout et de modification.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Access Denied','Either you are not currently logged in, or you do not have access to this content.<br><br>
For help please contact {AdministratorEmail}.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','AccessDeniedInfo','<table align="center" width="80%" border="0">
<tr>
<td>
<br>
<br>
Either you are not currently logged in, or you do not have access to this content.<br><br>
For help please contact {AdministratorEmail}.
</td></tr></table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_UserListModule','DisplayHelp_UserListModule',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_TAGFileManagerModule','DisplayHelp_TAGFileManagerModule',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Demo_Portal_Info','<div align="left" class="normal">
<p align="left">
{Directives}
</p>
<br><br>
</div>
<div align="left" class="normal">
<span class="Head">NOTE</span>
<br><br>
<ol>
	<li>You will need de chose a name for your site.  The URL will be a sub domain of {DomainName}.  Like http://{DomainName}/votenom/</li>
	<li>You will need to identify yourself, your name will be required.</li>
	<li>You will need to give us a valide E-Mail.  We will send you a confirmation E-Mail with a validation link.</li>
	<li>You will need to select a template.  You can view the available template here&nbsp;&nbsp;<b><i>{lblpreview}</i></b></li>
	<li>You will need to select a valide user code and password.  For security reason they will have to be a minimum of 8 letters or numbers each. </li>
	<li>You must accept the temps of Use. Click on the link below to do so.</li>
</ol>
<br><br>
</div>
<div align="left" class="normal">
<br><br>
<span class="Head">Conditions of use between you and {PortalName}
</span>
<br><br>
<p align="left">
As a condition of your use of the {PortalName} Web Site, you warrant to {PortalName} that you will not use the {PortalName} Web Site for any purpose that is unlawful or prohibited by these terms, conditions, and notices. You may not use the {PortalName} Web Site in any manner which could damage, disable, overburden, or impair the {PortalName} Web Site or interfere with any other party''s use and enjoyment of the {PortalName} Web Site.
</p><p>
<a href="http://{DomainName}/{language}.default.aspx?edit=control&def=Signup&guid={lblGUID}" title="I accept the conditions of use">&nbsp;<b><font color="#ff0000">I accept</font></b></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://{DomainName}/" title="Return">&nbsp;<b><font color="#669900">I refuse</font></b></a>
</p>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Demo_Portal_Info1','There are two types of portals which can be created using this application:<br><br><li><b>Parent Portals</b> are sites which have a unique URL ( ie. www.domain.com ) associated to them. This generally involves purchasing a Domain Name from an Internet Registrar, setting the Primary/Secondary DNS entries to point to the Hosting Provider''s DNS Server, and having your Hosting Provider map the Domain Name to the IP Address of your account. An example of a valid Parent Portal Name is <b>www.mydomain.com</b>. You can also use the IP Address of your site without a Domain Name ( ie. <b>65.174.86.217</b> ). If you need to have multiple Domain Names pointing to the same portal then you can seperate them with commas ( ie. <b>www.domain1.com,www.domain2.com</b> ). Do not create a Parent Portal until all of the DNS mappings are in place or else you will not be able to access your portal.<br><br><li><b>Child Portals</b> are subhosts of your Hosting Provider account. Essentially this means a directory is created on the web server which allows the site to be accessed through a URL address which includes a Parent domain name as well as the directory name ( ie. www.domain.com/directory ). An example of a valid Child Portal Name is <b>{DomainName}/portalname</b>. A Child Portal can be converted into a Parent Portal at any time by simply modifying the Portal Alias entry.<br><br>*Please Note: Portals will be created using the default properties defined in the Host Settings module ( HostFee, HostSpace, DemoPeriod ). Once the portal is created, these properties can be modified in the Site Settings module.<br><br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditAnnoncement','<div style="text-align: center;">
<h1>Babillard</h1>
<div style="text-align: left;">
<h2>Options obligatoires :</h2>
<ul>
    <li>Titre : Le titre sera affich&eacute; en premier.</li>
    <li>Description : La description suivra le titre.</li>
</ul>
<h2>Options facultatives :</h2>
<ul>
    <li>Lien fichier :&nbsp; Si vous utiliser le lien fichier un hyperlien s''affichera apr&egrave;s la description du communiqu&eacute;.</li>
    <li>Expiration :&nbsp; Si vous d&eacute;signez une date d''expiration, le communiqu&eacute; ne sera pas affich&eacute; apr&egrave;s cette date.</li>
    <li>Ordre de parution : Pour d&eacute;signer l''ordre de parution, sinon l''ordre sera en fonction de la derni&egrave;re date de mis &agrave; jours du communiqu&eacute;.</li>
    <li>Syndication : Cocher la case pour que le communiqu&eacute; soit inclus dans le fichier RSS cr&eacute;e apr&egrave;s la mise a jours du babillard.</li>
    <li>Contenu en syndication : Cliquer sur cette option pour cr&eacute;er le ficher RSS (XML)</li>
    <li>Voir statistiques : Cocher la case pour voir l''historique de clicks sur l''hyperlien &quot;voir plus&quot;. (activ&eacute; par l''option lien fichier)</li>
</ul>
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Demo_Portal_Info2','You can install your very own DotNetZoom website and experiment with its advanced features {DemoPeriod}for a période of {days} days{/DemoPeriod}. Your demo website is full featured and provides you with 20 MB of disk space.
<br><br><b>*Note:</b> Your Website Name must be a single word and cannot contain spaces or punctuation characters. The URL for your portal will take the form of <b>{DomainName}/portalname</b><br><br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_BulkEmail','Administrators can send a bulk email to all users belonging to a particular Security Role or to any email address. The email is sent to each user separately, without revealing other users email addresses.<br><br>

Bulk mail can be either plain text or HTML format. Attachments from your File Manager can be added to the email (only images could be selected at the time of writing).',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Demo','As a condition of your use of the {PortalName} Web Site, you warrant to {PortalName} that you will not use the {PortalName} Web Site for any purpose that is unlawful or prohibited by these terms, conditions, and notices. You may not use the {PortalName} Web Site in any manner which could damage, disable, overburden, or impair the {PortalName} Web Site or interfere with any other party''s use and enjoyment of the {PortalName} Web Site.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_DiscussDetails','The Discussions module renders a group of message threads on a specific topic. Discussion includes a Read/Reply Message page, which allows authorized users to reply to existing messages, add new messages or delete existing messages.<br><br>

The following details are automatically recorded and displayed for each discussion:<br><br>

    * First Name and Last Name of the user who posted the message, or the last user to update the message.<br>
    * Date and Time the message was added or last updated.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Discussions','Read the content of a discussion thread.<br><br>

   1. Click on the linked message title to read that message. The related message will now be displayed. To display replies to a thread, click the Maximize maximize.gif button.<br>
   2. Click Cancel to return to the module.<br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditAccessDenied','Either you are not currently logged in, or you do not have access to this content.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditAlbum','Help information Edit Album',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditAnnoncement','The Announcements Module produces a list of simple text announcements consisting of a title and brief description. Options include a read more link to a file, page or other site, announcement publish date and expiration date. Link click tracking and logging are also available. Announcements are ordered from newest to oldest; unless a view order is specified.<br />
<br />
<p>Add an announcement with a link to a file located on the site. The file link will be represented as a read more link after the description of the announcement.</p>
<ol>
    <li><em>Add</em> an <strong>Announcements</strong> module, or <em>go to</em> an existing <strong>Announcements</strong> module.   </li>
    <li><em>Select </em><strong>Add New Announcement</strong> from the Module Menu.  </li>
    <li>In the <strong>Title</strong> field, <em>enter</em> a title for the announcement.  </li>
    <li>At <strong>Add Date?</strong> select one of the following options:
    <ol>
        <li><em>Check </em>the check box to add the current date and time, or   </li>
        <li><em>Uncheck </em>the check box to remove the current day and date from beside the title.</li>
    </ol>
    </li>
    <li>At <strong>Description</strong>, <em>enter</em> a description for the announcement.  </li>
    <li>At <strong>Link / Link Type</strong>, <em>select</em> <strong>File ( A File on your Site </strong>).  </li>
    <li>At <strong>Link</strong>, <em>perform</em> one of the following:
    <ol type="a">
        <li>If the file has already been uploaded to the Admin &gt; File Manager:
        <ol type="i">
            <li>At <strong>Link / File Location</strong>, select the folder within the Admin &gt; File Manager where the file was uploaded.  </li>
            <li>At <strong>Link / File Name</strong>, <em>select</em> the file from the drop down list.</li>
        </ol>
        </li>
        <li>If the file has not been uploaded to the Admin &gt; File Manager:
        <ol type="i">
            <li>i. <em>Click</em> <u>Upload New File</u>.   </li>
            <li>ii. At <strong>Link / File Location</strong>, <em>select</em> the folder within the Admin &gt; File Manager where the file will be uploaded to.  </li>
            <li>iii. At <strong>Link / File Name</strong>, <em>click</em> Browse.  </li>
            <li>iv. <em>Locate</em> the required file and <em>double click</em> on the file name to select.   </li>
            <li>v. <em>Click</em> <u>Save Uploaded File</u>.</li>
        </ol>
        </li>
    </ol>
    </li>
    <li>At <strong>Track Number Of Times This Link Is Clicked? </strong>(optional), <em>check </em>the check box if required. Selecting this option will display the number of times this link is click on this screen once the record has been updated.  </li>
    <li>At <strong>Log The User, Date, And Time For Every Link Click</strong> (optional), <em>check </em>the check box if required. Selecting this option will add a Link Log to this screen once the record has been updated.   </li>
    <li>At <strong>Open Link In New Browser Window?</strong> (optional), <em>check </em>the check box to display the link in a new web browser. If the box is unchecked the link will open in the existing web browser.  </li>
    <li>At <strong>Expires</strong> (optional) <em>click</em> <u>Calendar</u> and select the expiry date for the Announcement.  </li>
    <li>In the <strong>View Order</strong> field (optional), <em>enter</em> a number to indicate the position of this announcement. For example, <strong>0</strong> = First announcement; <strong>1</strong> = Second announcement, etc. This setting overrides the default order. By default, announcements are order from the most recently added or updated to the least recently updated or added.   </li>
    <li><em>Click</em> <u>Update</u>.</li>
</ol>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditBaners','Help information Edit Baners',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditBanners','Help information Edit Banners',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditContacts','The Contacts module renders contact information for a group of people, for example a project team. Records are displayed alphabetically by Contact Name and each contact record includes the contact''s name, role, email address and two telephone numbers.<br />
<br />
A contact''s email address automatically renders as a ''mailto'' hyperlink which is cloaked to prevent harvesting by spam bots.<br />
<br />
<p>Add a new contact to the Contacts module.</p>
<ol>
    <li> 						<em>Add</em> a <strong>Contacts</strong> module, or <em>go to</em> an existing <strong>Contacts</strong> module.   </li>
    <li> 						<em>Select </em> 						<strong>Add New Contact </strong>from the module menu.  </li>
    <li>In the <strong>Name</strong><strong></strong>field, <em>enter</em> the contact name. E.g. Jill Black.   </li>
    <li>In the <strong>Role</strong> field (optional), <em>enter</em> the contact''s role within the group. E.g. Company Secretary.  </li>
    <li>In the <strong>Email</strong> field (optional), <em>enter</em> the contact''s email address. E.g. <a href="mailto:Jill.Black@domain.com">Jill.Black@domain.com</a></li>
    <li>In the <strong>Telephone 1 </strong>field (optional), <em>enter</em> the contact''s primary telephone number.  </li>
    <li>In the <strong>Telephone 2</strong> field (optional), <em>enter</em> the contact''s secondary telephone number.  </li>
    <li> 						<em>Click</em> 						<u>Update</u>.</li>
</ol>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditDirectory','Help information Edit Directory',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditDocs','The Documents Module produces a list of documents with links to view (depending on a user''s file associations) or download the document. Documents can be located within the site, or can be a link to a document on another web site. Each document listing displays a document title and category.<br><br>

The name of the authorized user who last updated the document, the date that the document was added or last updated, and the file size (internal documents only) are automatically rendered for each listing. Link tracking and logging are also available.<br><br>
View the document associated with a document record.<br><br>

   1. Click the linked title of the document. The document will be displayed in either the current or a new web site browser.<br><br>
Enables downloading of a listed document.<br><br>

   1. Click Download located beside the required document.<br>
   2. Click the Save button.<br>
   3. Navigate to the location where the file will be saved.<br>
   4. Click the Save button.<br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditEvents','The Events module displays upcoming events as a list in chronological order or in calendar format. Each event listing includes a title, description, and date. Display of an image and the event time is optional.<br><br>

Each event can be set to automatically expire on a particular date, or re-occur by any specified number of days, weeks, months or years. Height and width properties for calendar cells can be set.<br><br>
<OL>
<LI><I>Select&nbsp;</I><STRONG>Add New Event</STRONG> from the module menu. 
<LI>In the <STRONG>Title</STRONG> field, <I>enter</I> a title for the event. 

<LI>In the <STRONG>Description</STRONG> field, <I>enter</I> a description of the event. 
<LI>At <STRONG>Image</STRONG> (optional), <I>perform</I> one of the following: 
<OL type=a>
<LI>If the image has already been uploaded to the Admin &gt; File Manager: 

<OL type=1>
<LI>At <STRONG>Image / File Location</STRONG>, <I>select</I> the folder&nbsp;where the image is located. 
<LI>At <STRONG>Image / File Name</STRONG>, <I>select</I> the image from the drop down list.</LI></OL>
<LI>If the file has not been uploaded to the Admin &gt; File Manager: 

<OL type=1>
<LI><I>Click</I> <U>Upload New<STRONG> </STRONG>File</U>. 
<LI>At <STRONG>Image / File Location</STRONG>, <I>select</I> a folder to upload the image to. 
<LI>At <STRONG>Image / File Name</STRONG>, <I>click</I> <STRONG>Browse</STRONG>. 

<LI><I>Locate</I> and <I>select&nbsp;</I>the required image. 
<LI><I>Click</I> <U>Upload New File</U>.</LI></OL></LI></OL>
<LI>In the <STRONG>Alternate Text</STRONG> (required field when <STRONG>Image</STRONG> is set) field, <I>enter</I> the text that will appear as a ''tool tip'' when the image is moused over by a visitor. 

<LI>At <STRONG>Occurs Every</STRONG> (optional), <I>select</I> how frequently the event reoccurs. Select either <STRONG>Days</STRONG>, <STRONG>Weeks</STRONG>, <STRONG>Months</STRONG>, <STRONG>Years</STRONG> from the dropdown box and enter a number to the left. Please Note: reoccurrence only works in calendar display (see 1.) In list display only the start date is displayed. 
<LI>At <STRONG>Start Date</STRONG>, <I>click</I> <U>Calendar</U> and select the start date for the event. 

<LI>At <STRONG>Time</STRONG> (optional), <I>enter</I> a time in this format: 09:00 AM. 
<LI>At <STRONG>Expiry Date</STRONG> (optional), <I>click</I> <U>Calendar</U> and then select the expiry date for the event. The event will expire on this date. 
<LI><I>Click</I> <U>Update</U>.</LI></OL>

<P><STRONG>Note</STRONG>: If the Event module is set to Calendar view, the calendar will display the current month, not the month of the new event.</P>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditFAQ','<h1>About The FAQs Module</h1>

<p>The FAQs Module allows Authorized Users to manage a list of Frequently Asked Questions and their corresponding answers. The question is displayed as a link, requiring the user to click on a question to view the corresponding answer.</p>

<h1>Add an FAQ</h1>

<ol><li>Add an <b>FAQs</b> module, or go to an existing <b>FAQs</b> module. </li>
<li>Click <b>Add New FAQ</b>. </li>
<li>At <b>Question</b>, enter the question.</li>
<li>At <b>Answer</b>, enter an answer to the question.</li>

<li>Click <b>Update</b>.</li></ol>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditHTML','The Text/HTML module renders plain text, rich text or HTML. The module provides the following five different editing views:<br />
<br />
Basic Text Box / Text<br />
<br />
Use this view to enter basic text and hand code simple HTML. The default text style is the Normal style, as set in the style sheet. Hitting the Enter key creates a new paragraph. Do not paste HTML into this view.<br />
<br />
<span class="SubHead">Add Basic Text To The Text/HTML Module</span><br />
<span class="Normal">Add basic text including basic html into the Basic Text Box.
<ol>
    <li><em>Add</em> a <strong>Text/HTML</strong> module or <em>go to</em> an existing <strong>Text/HTML</strong> module. </li>
    <li><em>Select </em><strong>Edit Text</strong> from the module menu. </li>
    <li><em>Select</em> the <strong>Basic Text Box</strong> above the Rich Text Editor. </li>
    <li><em>Select</em><strong>Text</strong> below the text box. </li>
    <li><em>Type</em> or <em>paste</em> in the text. Hit <strong>Enter</strong> to create a line break. HTML tags can be used. </li>
    <li>In the <strong>Search Summary</strong> field (optional), <em>enter</em> a summary to help the <strong>Search</strong> module and Search skin object search this content. </li>
    <li><em>Click</em><u>Preview</u> (optional) to preview to text at any time. </li>
    <li><em>Click</em><u>Update</u>.</li>
</ol>
</span><br />
<span class="Normal">
<p>Add Rich Text to the Text/HTML module.</p>
<ol type="1">
    <li><em>Add</em> a <strong>Text/HTML</strong> module or <em>go to</em> an existing <strong>Text/HTML</strong> module.  </li>
    <li><em>Select </em><strong>Edit Text</strong> from the module menu.   </li>
    <li><em>Select</em> <strong>Rich Text Editor</strong> (located above the window).  </li>
    <li><em>Select</em> <strong>Design</strong> (located below the window).  </li>
    <li><em>Enter</em> your text and add images, links, etc. See Standard Modules &gt; Working with Common Module Tools &gt; Rich Text Editor for more details.   </li>
    <li>In the <strong>Search Summary</strong> field (optional), <em>enter</em> a summary to help the Search module and Search skin object search this content.  </li>
    <li><em>Click</em> <u>Preview</u> (optional) to preview to text at any time.  </li>
    <li><em>Click</em> <u>Update</u>.</li>
</ol>
</span>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditIFrame','The IFrame module displays content from another site within a frame on the site. It is good ''netiquette'' (internet etiquette) to request permission of a site owner before framing their content.<br />
<br />
<span class="Normal">Set the web page to be framed.
<ol type="1">
    <li><em>Select </em><strong>Edit IFrame Properties</strong> from the module menu.  </li>
    <li>At <strong>Source</strong>, <em>enter</em> the URL of the content to be displayed. E.g. <a href="http://www.byte.com.au/">http://www.byte.com.au/</a></li>
    <li>At <strong>Width</strong>, <em>enter</em> the width for the IFrame in either pixels or as a percentage. Note: 790 is the largest pixel width recommended for an IFrame.   </li>
    <li>At <strong>Height</strong>, <em>enter</em> the height of the IFrame in pixels.  </li>
    <li>In the <strong>Title</strong> field, <em>enter</em> a title for the IFrame.  </li>
    <li>At <strong>Scrolling</strong>, <em>set</em> the scroll bar properties from the following options:
    <ol type="a">
        <li><strong>Auto</strong>: A scroll bar will be displayed only when scrolling is required.  </li>
        <li><strong>Yes</strong>: A scroll bar will be displayed at all times.  </li>
        <li><strong>No</strong>: No scroll bar is displayed. If <strong>No</strong> is selected ensure that the height and width settings for the IFrame are big enough to display the desired content as users will not be able to scroll.</li>
    </ol>
    </li>
    <li>At <strong>Border</strong>, <em>set</em> the scroll bar properties from the following options:
    <ol type="a">
        <li><strong>Yes: </strong>Displays a border around the IFrame   </li>
        <li><strong>No</strong>: No border is displayed. </li>
    </ol>
    </li>
    <li><em>Click </em><u>Update</u>. <br />
    </li>
</ol>
</span>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditImage','The Image module renders an image that has been uploaded to the Admin > File Manager. The height and width of images is exposed on the edit page, permitting Authorized User to alter the size of the rendered image.<br><br>
<span class="Normal"><p>Use only alpha-numerical characters when naming images. These can be either lower or upper case. You may use an underscore ( _ ), or a hyphen (-) between characters. A space can be left between characters, however this is not recommended. For example, the following naming conventions are permitted: </p>
<ul>
<li>image1.jpg 
</li><li>image-1.jpg 
</li><li>image_1.jpg 
</li><li>image 1.jpg</li></ul>
<p>The following characters cannot be used in images names, to do so will cause a Server Error in the Free Text Box used in the Text/HTML module:</p>
<p>~&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp; @&nbsp;&nbsp; #&nbsp;&nbsp; $&nbsp;&nbsp; %&nbsp;&nbsp; ^&nbsp;&nbsp; &amp;&nbsp;&nbsp; *&nbsp;&nbsp; (&nbsp;&nbsp; )&nbsp;&nbsp; +&nbsp;&nbsp; =&nbsp;&nbsp; ‘&nbsp;&nbsp; {&nbsp;&nbsp; }&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]&nbsp;&nbsp; [&nbsp;&nbsp; ”&nbsp;&nbsp; :&nbsp;&nbsp; ;&nbsp;&nbsp; ‘&nbsp;&nbsp; ?&nbsp;&nbsp; &gt;&nbsp;&nbsp; &lt;&nbsp;&nbsp; ,&nbsp;&nbsp; /</p>

<p>Failure to adhere to the correct naming convention will result in a script error when using the Insert Image tool in the Rich Text Editor on the Text/HTML module.</p></span>

<span class="SubHead">Display An Internal Image </span><br>
<span class="Normal"><ol type="1">
<li><i>Add</i> an <strong>Image</strong> module, or <i>go to</i> an existing <strong>Image</strong> module. 

</li><li><i>Select </i><strong>Edit Image Options</strong> from the module menu. 
</li><li>At <strong>Link Type</strong>, <i>select</i> <strong>File (An Image on Your Site)</strong>. 
</li><li>At <strong>Image</strong>, <i>perform</i> one of the following: 

<ol type="a">
<li>If the image has already been uploaded to the Admin &gt; <strong>File Manager</strong>: 
<ol type="1">
<li>At <strong>Image / File Location</strong>, <i>select</i> the folder&nbsp;where the image was uploaded. 
</li><li>At <strong>Image / File Name</strong>, <i>select</i> the image from the drop down list.</li></ol>

</li><li>If the file has not been uploaded to the Admin &gt; <strong>File Manager</strong>: 
<ol type="1">
<li><i>Click</i> <u>Upload New File</u>. 
</li><li>At <strong>Image / File Location</strong>, select the folder within where the image will be uploaded to. 
</li><li>At <strong>Image / File Name</strong>, <i>click</i> <strong>Browse</strong>. 

</li><li><i>Locate</i> and <em>select</em> the required image. 
</li><li><i>Click</i> <u>Save Uploaded File</u>.</li></ol></li></ol>
</li><li>At <strong>Alternate Text</strong>, <i>enter</i> the text that will appear as a ''tool tip'' upon mouse over. 

</li><li>At <strong>Width</strong> (optional), <i>set</i> the width of the image by entering a pixel value. E.g. 100. This will override the actual width of the image. If no value is entered the image will be rendered as its actual size. 
</li><li>At <strong>Height</strong> (optional), <i>set</i> the height of the image by entering a pixel value. E.g. 100. This will override the actual width of the image. If no value is entered the image will be rendered as its actual size. 
</li><li><i>Click</i> <u>Update</u>.</li></ol></span>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditLinks','The Links module renders a list of links to any page or file on your portal; or to an external URL. The links can be set to display in either vertically (default), horizontally, or as a drop down list. Links appear in alphabetical order by default, or can be reordered. A description of the link can be set to appear either as a tool tip upon mouse over, or as an Info Link that is displayed as a leader dot link (E.g. ...) when the ... link is clicked.<br />
<br />
<h3> SET UP THE LINK OPTIONS :</h3>
<br />
List Type : Select the type of listing you wish for the links.&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; The options are available are List, Drop down menu, vertical or horizontal.<br />
<br />
Link information : Select this option to show the information that you will enter in the description<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; field when you will edit the link.<br />
<br />
CSS Class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; The CSS Class that will be used for the link.<br />
<br />
<br />
<h3> EDIT A LINK :</h3>
<br />
Title :&nbsp; Enter a title.<br />
<br />
Select one of the options :<br />
<ul>
    <li>External link :&nbsp; You must point to a valid URL</li>
    <li>Internal link :&nbsp; Select a internal page from the menu</li>
    <li>File Link :&nbsp; Select a file from the portal.&nbsp; You can also upload a file.</li>
</ul>
<br />
Description : Enter a description.<br />
<br />
Order :&nbsp; Enter the order for the link in the list.<br />
<br />
Open in a new window :&nbsp; Select if you wish the link to open in a new window.<br />
<br />
Click <a href="" class="CommandButton" id="edit_cmdUpdate">Update</a> to save you setting and return or&nbsp;<a href="" class="CommandButton" id="edit_cmdCancel">Cancel</a>&nbsp;to cancel and return.<br />
<br />
<hr style="width: 100%; height: 2px;" />
<br />
You can see how many time a link was click by selecting the See Stats? option.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditRole','Enter the Security role name and a brief description of the Role.<br />
Also you can control the access to file upload for this account.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditRSS','<h1>About The News Feeds (RSS) Module</h1>
<p><strong>RSS</strong> (Really Simple Syndication) is a family of <a title="Web feed" href="http://en.wikipedia.org/wiki/Web_feed">Web feed</a> formats used to publish frequently updated content such as <a title="Blog" href="http://en.wikipedia.org/wiki/Blog">blog</a> entries, news headlines or <a title="Podcasts" href="http://en.wikipedia.org/wiki/Podcasts">podcasts</a>. An RSS document, which is called a &quot;feed,&quot; &quot;web feed,&quot; or &quot;channel,&quot; contains either a summary of content from an associated web site or the full text. RSS makes it possible for people to keep up with their favorite web sites in an automated manner that''s easier than checking them manually.</p>
<p>RSS content can be read using <a title="Software" href="http://en.wikipedia.org/wiki/Software">software</a> called an &quot;RSS reader,&quot; &quot;feed reader&quot; or an &quot;<a title="Aggregator" href="http://en.wikipedia.org/wiki/Aggregator">aggregator</a>.&quot; The user subscribes to a feed by entering the feed''s link into the reader or by clicking an RSS icon in a browser that initiates the subscription process. The reader checks the user''s subscribed feeds regularly for new content, downloading any updates that it finds.</p>
<p>The initials &quot;RSS&quot; are used to refer to the following formats:</p>
<ul>
    <li><strong>R</strong>eally <strong>S</strong>imple <strong>S</strong>yndication (RSS 2.0)</li>
    <li><a title="Resource Description Framework" href="http://en.wikipedia.org/wiki/Resource_Description_Framework">RDF</a> Site Summary (RSS 1.0 and RSS 0.90)</li>
    <li>Rich Site Summary (RSS 0.91)</li>
</ul>
<p>RSS formats are specified using <a title="XML" href="http://en.wikipedia.org/wiki/XML">XML</a>, a generic specification for the creation of data formats.</p>
<h1>Edit News Feed</h1>
<ol>
    <li>Add a <strong>News Feed</strong> module, or go to an existing <strong>News Feed</strong> module.</li>
    <li>Click <strong>Edit Newsfeed</strong>.  </li>
    <li>At <strong>News Feed Source</strong>, select <strong>Internal</strong> and <strong>Upload New File</strong>, or select <strong>External</strong> and enter the Url.  </li>
    <li>At <strong>News Feed Style Sheet</strong> (optional), select <strong>Internal</strong> and <strong>Upload New File</strong>, or select <strong>External</strong> and enter the Url.   </li>
    <li>At <strong>Security Options</strong> (optional), enter the <strong>domain\username</strong> and <strong>password</strong> details provided by your News Feed provider.  </li>
    <li>Click <strong>Update</strong>.</li>
</ol>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditSearch','Add field and modules you want the seach module to search in.<br />
<br />
You can personalise the way the result will show.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditUserDefinedTable','The User Defined Table (UDT) module enables the creation of a table which can be populated with  data.  Data types includes text, integer, decimal, date and time, date, time, true/false, email address, URL, currency and image. Columns can be set as required (mandatory) and can be made visible to Administrators only.<br><br>

The heading of each column is a link can be clicked to reorder data A-Z or Z-A. Table settings enable the Administrator to set the sort order of data and the number of items per page. Administrators can also set the maximum width of images and whether to display http:// before URLs.<br><br>
<span class="SubHead">Add UDT Columns</span><br>
<span class="Normal">
		<p>Create a user defined table by adding one or more columns. A table must be created before content can be added.</p>
		<ol type="1">
				<li>
						<i>Add</i> a <strong>User Defined Table</strong> module, or <i>go to</i> an existing <strong>User Defined Table</strong> module. 

</li>
				<li>
						<em>Select</em>
						<strong>Manage User Defined Table</strong> from the module menu. 
</li>
				<li>
						<i>Click</i>
						<u>Add New Column</u> to add a table column. 

</li>
				<li>At <strong>Required</strong>, select from the following options: 
<ol type="a"><li><i>Check <img alt="check.gif" src="/Portals/25/OnlineHelp/Images/Icons/check.gif" border="0" height="13" width="13">&nbsp;</i>the check box if entering data into this field is mandatory. 
</li><li><em>Unchecked <img alt="uncheck.gif" src="/Portals/25/OnlineHelp/Images/Icons/uncheck.gif" border="0" height="13" width="13">&nbsp;</em>the check box if entering data into this field is optional. This is the default setting.</li></ol></li>
				<li>At <strong>Visible</strong>, select from the following options: 
<ol type="a"><li><i>Check <img alt="check.gif" src="/Portals/25/OnlineHelp/Images/Icons/check.gif" border="0" height="13" width="13">&nbsp;</i>the check box if column is visible to all authorized users. This is the default setting. 
</li><li><i>Unchecked <img alt="uncheck.gif" src="/Portals/25/OnlineHelp/Images/Icons/uncheck.gif" border="0" height="13" width="13">&nbsp;</i>the check box if the column is only visible to Administrators.</li></ol></li>

				<li>In the <strong>Title</strong> field, <i>enter</i> a title for the column. (Column titles are listed across the top of the table). 
<ul></ul></li>
				<li>At <strong>Type</strong>, <i>select</i> the type of data that can be entered into and displayed for the field. The following options are available: 
<ol type="a"><li><strong>Text</strong>: Enter and display any keyboard characters. 

</li><li><strong>Integer</strong>: Enter and display a whole number. E.g. 8 
</li><li><strong>Decimal</strong>: Enter and display a decimal number. E.g. 8.50 
</li><li><strong>Date and Time</strong>: Displays a selected date and an entered time. E.g. 6/30/2006 9:00 AM 
</li><li><strong>Date</strong>: Display a selected date. E.g. 6/30/2006 
</li><li><strong>Time:</strong> Display an entered time. E.g. 12:30 PM 
</li><li><strong>True/False</strong>: Enter and display a true or false statement. E.g. False. 
</li><li><strong>Email</strong>: Enter and display a valid email address. E.g. <a href="mailto:john.doe@domain.com">john.doe@domain.com</a></li><li><strong>Currency</strong>: Enter and display a currency amount. E.g. 9.00 GBP. See Site Settings to learn how to set the currency type displayed. 

</li><li><strong>URL</strong>: Enter and display a valid URL. E.g. <a href="http://www.domain.com/">http://www.domain.com</a></li><li><strong>Image</strong>: Displays an image that has been uploaded to the web site.</li></ol></li>
				<li>At <strong>Default</strong> (optional), enter the default value for the column. This value will be automatically displayed in this field when entering data to the table. 
</li>
				<li>
						<em>Click</em> the <strong>Save</strong><img alt="Save.gif" src="/Portals/25/OnlineHelp/Images/Icons/Save.gif" border="0" height="18" width="18"> button. 

</li>
				<li>
						<i>Repeat</i> Steps 3-9 to add additional columns. 
</li>
				<li>
						<i>Click </i>
						<u>Back</u> to return to the module. </li>

		</ol></span>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditVendors','<span class="SubHead">Add A Vendor</span><br>
<span class="Normal"><p>Adds a vendor account to the Vendor direction.&nbsp; Once a new vendor is created the following additional settings will be available vendor logo, authorization, classifications, banner advertising, and affiliate referrals.&nbsp; To complete these additional fields, you must edit the vendor record.</p>
<p>Mandatory fields are marked with an asterisk (*).&nbsp; Where a check box is displayed beside a field,&nbsp; <i>uncheck</i> the check box to make the field optional or <i>check</i> the checkbox to make the field mandatory.</p>

<ol type="1">
<li><i>Navigate</i> to the Admin &gt; <strong>Vendors</strong> Page. 
</li><li>Select <strong>Add New Vendor</strong> from the module menu, or<em> click</em> <u>Add New Vendor</u> at the base of the module. 

</li><li>In the <strong>Vendor Details</strong> section, complete all fields: 
<ol type="a">
<li>In the <strong>Company*</strong> field, <i>enter</i> the company name of the vendor. 
</li><li>In the <strong>First Name*</strong> field, <i>enter</i> the first name of the contact person for the vendor. 

</li><li>In the <strong>Last Name*</strong> field, <i>enter</i> the last name of the contact person for the vendor. 
</li><li>In the <strong>Email Address*</strong> field, <i>enter</i> the email address of the contact person listed above.</li></ol>
</li><li>In the <strong>Address Details</strong> section, the following optional fields are available: 

<ol>
<li>In the <strong>Street</strong> field, <i>enter</i> the street part of the Vendor''s address.&nbsp; E.g. 10 Main Road 
</li><li>In the <strong>Unit</strong> field, <i>enter</i> the unit number.&nbsp; E.g. Unit 6, or Suite 6, etc. 

</li><li>In the <strong>City</strong> field, <i>enter</i> the Vendor''s city. E.g. Melbourne 
</li><li>In the <strong>Country</strong> field, <i>select</i> the Vendor''s country. 
</li><li>In the <strong>Region</strong> field, <i>enter</i> the Region/State/Province of the Vendor, or select from the drop down list where available.&nbsp;&nbsp; (For more details on creating regions for countries, See Host &gt; Lists). 

</li><li>In the <strong>Postal Code/Zip Code</strong> field, <i>enter</i> the Vendor''s postal code. E.g. 31234 
</li><li>In the <strong>Telephone</strong> field, <i>enter</i> the Vendor''s telephone number.&nbsp; E.g. +61 3 9421 6555 
</li><li>In the <strong>Cell</strong> field, <i>enter</i> the Vendor''s cell (mobile) number. E.g. 0400 100 100 

</li><li>In the <strong>Fax</strong> field, <i>enter</i> the Vendor''s facsimile number. E.g. + 61 3 9421 6444</li></ol>
</li><li>In the <strong>Other Details</strong> section, the following optional field is available: 
<ol>
<li>In the <strong>Website</strong> field, <i>enter</i> the Vendor''s website address. E.g. <a href="http://www.byte.com.au">www.byte.com.au</a>.</li></ol>

</li><li><i>Click</i> <u>Update</u>.</li></ol></span>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditXML','<h1>About the XML/XSL Module</h1>
<p>The XML/XSL Module renders the result of an XML/XSL transform. <br />
</p>
XML module is working in three steps;
<ol>
    <li> 				it queries <a href="http://en.wikipedia.org/wiki/XML">XML</a>  			Data, 			</li>
    <li> 				transforms the XML data using an <a href="http://en.wikipedia.org/wiki/XSLT">XSL  					transformation</a>, 			</li>
    <li> 				and returns the result back to the user. 				<br />
    </li>
    <li> 				All settings are stored inside DotNetZoom. 			</li>
</ol>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_FileManager','The File Manager manages the upload and maintenance of files within the portal.&nbsp;',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Forum','<span class="SubHead">Add a Forum Post</span><br />
<span class="Normal">
<p>A Forum entry (sometimes referred to as a post) is added to a Forum List. </p>
<ol type="1">
    <li><em>Click</em> on the name of the <strong>Forum List</strong> for the post. </li>
    <li><em>Click</em> the <strong>New Thread</strong>&nbsp;<input class="button" id="cmdNewTopic1" title="Add a new post" type="submit" name="cmdNewTopic1" value="Add new thread" /> button. </li>
    <li>In the <strong>Subject</strong> field, enter the subject of the thread.&nbsp; This will be the title of the post as it appears on the site.&nbsp; Choose a subject that best describes the purpose and content of the post. </li>
    <li>In the <strong>Rich Text Enter</strong>, <em>enter</em> the content of the post. </li>
    <li>At <strong>Attachments</strong>, <em>click </em>the <strong>Search</strong> button to add an attachment. </li>
    <li>At <strong>Pinned</strong>, <em>check</em> to ''pin'' the post above existing posts for this Forum List - OR - <em>uncheck</em> if the post will appear next in the list. </li>
    <li>At <strong>Notification</strong>, <em>check</em> to be notified when a reply is made to this post - OR - <em>uncheck</em> to disable notification. </li>
    <li>At <strong>Locked?</strong>, <em>check</em> to prevent others from replying to this post or <em>uncheck </em>to permit replies. </li>
    <li><em>Click</em> <u>Update</u>.&nbsp; You can now edit the Forum to add attachments. </li>
</ol>
</span><br />
<span class="SubHead">Delete A Forum Post</span><br />
<span class="Normal"><a name="_Toc107041682">Permanently</a> delete a forum post.
<ol type="1">
    <li><em>Locate</em> the post entry using the <strong>Forum</strong> menu, or by using the <u>Search</u>. </li>
    <li><em>Click</em> on the post subject. </li>
    <li><em>Click</em> the <strong>Delete</strong> <input class="button" id="delete" title="Delete post" type="submit" name="delete" value="Delete" />&nbsp;button. </li>
    <li><em>Click</em> <u>Delete</u>. A dialog box asking ''Are You Sure You Wish To Delete This Item?'' will be displayed. </li>
    <li><em>Click</em> <strong>OK</strong> to confirm deletion. </li>
</ol>
</span><br />
<span class="SubHead">Edit A Forum Post</span><br />
<span class="Normal">Users can edit their own forum posts. Administrators can edit all posts.
<ol type="1">
    <li><em>Locate</em> the post entry using the <strong>Forum</strong> menu, by using the <u>Search</u>. </li>
    <li><em>Click</em> on the post subject. </li>
    <li><em>Click</em> the <strong>Edit </strong>button. </li>
    <li><em>Edit</em> any fields as required. </li>
    <li><em>Click</em> <u>Update</u>. </li>
</ol>
</span><br />
<span class="SubHead">Quote A Forum Post</span><br />
<span class="Normal">
<p>Users can quote an existing forum post.&nbsp; Quoting a post adds the name of the poster and the content of the post to this new post. </p>
<ol type="1">
    <li><em>Locate</em> the post entry using the <strong>Forum</strong> menu, by using the <u>Search</u>. </li>
    <li><em>Click</em> on the post subject. </li>
    <li><em>Click</em> the <strong>Quote <input type="submit" name="quote" value="Quote" id="quote" title="Quote this post" class="button" />trong>&nbsp;button. </li>
    <li>Add your content. </li>
    <li><em>Click</em> <u>Update</u>. </li>
</ol>
</span><br />',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumAdmin','Help information Admin forum',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumAnonymous','You need to register in order to be able to edit and post messages.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumSettings','Help information Forum settings',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumUserAdmin','Help information Admin Forum',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumUserProfile','Help information user profile',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_GalleryAdmin','Help information about the Gallery administration',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_HostSettings','Set the hosting space allocated to new child sites.<br>
 Configure all settings for child hosting. <br>
 Displays the configuration details for the site.  <br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language0','Edit Erase or Create a new language',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language1','Edit help files',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language10','Help settings for language',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language2','Edit language files',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language3','Edit country codes',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language4','Edit the admin menu information',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language5','Edit currencies code to use with Pay-Pal',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language6','Edit frequency code for subscription',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language7','Edit site log options',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language8','Edit the region code associated with a country code',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Language9','Edit time Zones information',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ManageTabs','Menu use to navigate, edit, view and manage site pages',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ManageUsers','<p>Site Administrators are able to manage the account details of all Registered Users from the User Accounts page.</p>
<p>The following tasks can be performed on the User Accounts page:</p>
<ul>
<li>Add a new User Account 
</li><li>Edit of User Account details 
</li><li>Authorize or unauthorize a User Account 
</li><li>Manage Security Role access for User Accounts 
</li><li>Delete a User Account 
</li><li>Delete all Unauthorized Users 
</li><li>View account creation and last log in date for a User</li></ul>
<p>To increase the ease of use of the User Accounts page a number of options are available for manipulating the view of the user accounts on display. These options include:</p>
<ul>

<li>Adjustable number of user accounts to be displayed per page 
</li><li>Filtering by Alphabetic, Unauthorized and All user accounts 
</li><li>Search to find a user by username or email address</li></ul>
<p>The User Account page is separate to the User Account module that enables Registered Users to manage their account details and Membership Services.</p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ModerateAdmin','Information about the parameters for moderators in the forum',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ModuleDefinitions','The Module Definitions page allows the Host to set one or more modules as Premium, manage module properties and upload new modules.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ModuleDefs','The Module Definitions page allows the Host to set one or more modules as Premium, manage module properties and upload new modules.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ModuleSettings','Settings relating to the Module content and permissions.  E.g. Those settings that will be the same on all pages that the Module appears.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_PMSCompose','You can write your messages using an online editor.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_PMSInbox','You view and manage your received messages.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_PMSOutbox','You can view and manage the messages your send to other users.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Portals','Manage existing portals and create new portals.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Register','You need to put in all information required',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_RegisterEditServices','Information about services',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Roles','To manage user roles.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Search','Just enter a word, phrase or text to seach and Click GO',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SecurityRole','Information and ability to change the user allocated to the Security Role',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Services','Information about services available',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Signup','Create a new potal',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SiteLog','Select the appropriate report your want also a start date and End Date.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SiteSettings1','Skinning<br />
<br />
You can personalise the way the site will look.<br />
<br />
Edit portal CSS files and Skin files.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SiteSettings2','General information about your site',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SiteSettings3','Select the language and the various language specific information to be displayed on each page.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SiteSettings4','Select the option for crating a demo portal.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SiteSettings5','Subscription detail for the portal.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_SQL','Enter your SQL request.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Tabs','You can edit the pages order in the menu and the settings of each pages',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Users','Menu to manage User accounts',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Vendors','Vendors listing',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_WeatherEdit','Options to select a weather panel',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_WebUpload','Options for upload permission',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumSearch','Help information forum search module',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Edit Access Denied','Either you are not currently logged in, or you do not have access to this content.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','EditAccessDeniedInfo','Either you are not currently logged in, or you do not have access to this content.<br><br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_account_mod_notice','Your account was modified

Date: {date}

First name: {firstname}
Last name: {lastname}

App.: {app}
Street: {street}
City: {city}
Province: {province}
Country: {country}
Postal Code: {postalcode}
Telephone: {phone}

Email: {email}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_new_demo_portal','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>
{FullName}<br><br>
You web site was created. Please read the following information carefully and be sure to save this message in a safe location for future reference.<br><br>
Portal Website Address: {PortalURL}<br>
Username: {Username}<br>
Password: {Password}<br><br>
For security reason you need to validate your account with this link: <a href="{validationcode}"> click to validate your account</a><br> 
<b>or you can copy the following validation URL in a your web browser :</b><br><br>
 {validationcode}<br><br> 
Thank you.<br><br>
<a href="mailto:{HostEmail}?subject={PortalName} New web site">{HostEmail}</a>
</body>
</html>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_new_portal','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>
{FullName}<br><br>
You web site was created. Please read the following information carefully and be sure to save this message in a safe location for future reference.<br><br>
Portal Website Address: {PortalURL}<br>
Username: {Username}<br>
Password: {Password}<br><br>
For security reason you need to validate your account with this link: <a href="{validationcode}"> click to validate your account</a><br> 
<b>or you can copy the following validation URL in a your web browser :</b><br><br>
 {validationcode}<br><br> 
Thank you.<br><br>
<a href="mailto:{HostEmail}?subject={PortalName} New web site">{HostEmail}</a>
</body>
</html>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_newuser_account','Dear {FullName},

We are pleased to advise that you have been added as a Registered User to {PortalName}. Please read the following information carefully and be sure to save this message in a safe location for future reference.

Portal Website Address: {PortalURL}
Username: {Username}
Password: {Password}
{needcode}
Validation Code:  {validationcode}
{/needcode}

Please take the opportunity to visit the website to review its content and take advantage of its many features.

{signupmessage}

Thank you, we appreciate your support...

{PortalName}
                    

{AdministratorEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_newuser_notice','Date: {date}

First name: {firstname}
Nom:        {lastname}

App.:        {app}
Street:      {street}
City:        {city}
Province:    {province}
Country:     {country}
Postal Code: {postalcode}
Phone number:{phone}

Email:       {email}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_newuser_private','Dear {FullName},

Thank you for registering at {PortalName}. Please read the following information carefully and be sure to save this message in a safe location for future reference.

Portal Website Address: {PortalURL}
Username: {Username}
Password: {Password}

Your account details will be reviewed by the portal Administrator and you will receive a notification upon account activation.

{signupmessage}

Thank you.

{PortalName}

{AdministratorEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_newuser_verified','Dear {FullName},

Thank you for registering at {PortalName}. Please read the following information carefully and be sure to save this message in a safe location for future reference.

Portal Website Address: {PortalURL}
Username: {Username}
Password: {Password}
Validation Code:  {validationcode}

{signupmessage}

Thank you.

{PortalName}

{AdministratorEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','email_password_recall','Dear {FullName},

You have requested a Password Reminder from {PortalName}.

Please login using the following information:

Portal Website Address: {PortalURL}
Username:               {Username}
Password:               {Password}
{needcode}
Validation Code:        {validationcode}
{/needcode}
{notauthorized}
Status:              Non authorized
{/notauthorized}

Sincerely,
{PortalName}

*Note: If you did not request a Password Reminder, please disregard this Message.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_ForumSubscribe','Help information Forum subscription',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_AccessDenied','This issue occurs because your security no longer matches the security required.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_MyBuddiesModule','Information about my buddies module',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_NeedToLogin','Either you are not currently logged in, or you do not have access to this content.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_AdminMenu','<P>A menu page titled ''Admin'' with  ( 8 ) child pages is visible to users Site Administrators. These pages are displayed to the right of existing pages in the menu and provide access to these Administrator tools:</P>
<UL>
<LI>Site Settings; 
<LI> Page Management; 
<LI>Security Role management; 
<LI>User Account management; 
<LI>Vendor and banner management; 
<LI>Site Log reports; 
<LI>Newsletter creation and sending; 
<LI>File management; 
</LI></UL>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_RegisterEdit','Modification of account',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Signin','Information about signin in',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Forum_Moderated','Since you posted to a moderated forum, a forum administrator must approve your post before it will become visible.  Please be patient, this may take anywhere from a few minutes to many hours. Note that you will receive an email when your post is approved',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','ModuleDefinitionInfo','Modules can be added using an automated installation.  In order to use this method of installation all the file associated with the module must be uploaded to the server.  Files can be uploaded individually or in a compressed zip file.  An (*.xml) script file must be included with the package you intend to install.  You may install a module manually, you have the use the "Template" option and edit the module setting once the template is created.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','new_portal_info','<p>{FullName}</p>
<p>Your portal was created. You will receive in the next few minutes an E-Mail with important information about your new portal.</p>
<p>By using the newly created site, you agree to respect its terms and conditions.</p>
<p>Portal URL: {PortalURL}</p>
<p>For security reason you need to validate your account by using the link provided in this E-Mail.</p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','PortalCreationInfo','<b>*IMPORTANT INFORMATION:</b><br><br>
<b>Once this process completed and your site created you will receive an e-mail with a validation link</b><br><br>
<b>You will need to use this validation link in order to log-in the first time on your newly created site.</b><br><br>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','PortalPrivacy','<table width="80%" align="center" border="0">
    <tbody>
        <tr>
            <td><span class="ItemTitle">{PortalName} Privacy Statement</span> <br />
            <br />
{PortalName} is committed to protecting your privacy and developing 
technology that gives you the most powerful and safe online experience. This 
Statement of Privacy applies to the {PortalName} Web 
site and governs data collection and usage. By using the {PortalName} 
website, you consent to the data practices described in this statement.<br><br> 

<span class="SubHead">Collection of your Personal Information</span><br><br>
{PortalName} collects personally 
identifiable information, such as your e-mail address, name, home or work 
address or telephone number. {PortalName} also collects anonymous 
demographic information, which is not unique to you, such as your ZIP code, 
age, gender, preferences, interests and favorites.<br><br>
There is also information about your computer hardware and 
software that is automatically collected by {PortalName}. This information 
can include: your IP address, browser type, domain names, access times and 
referring Web site addresses. This information is used by {PortalName} for 
the operation of the service, to maintain quality of the service, and to 
provide general statistics regarding use of the {PortalName} Web site.<br><br> 
Please keep in mind that if you directly disclose personally identifiable 
information or personally sensitive data through {PortalName} public 
message boards, this information may be collected and used by others. Note: 
{PortalName} does not read any of your private online communications.<br><br> 
{PortalName} encourages you to review the privacy statements of Web sites 
you choose to link to from {PortalName} so that you can understand how 
those Web sites collect, use and share your information. {PortalName} is 
not responsible for the privacy statements or other content on Web sites 
outside of the {PortalName} and {PortalName} family of Web sites.<br><br>
<span class="SubHead">Use of your Personal Information</span><br><br>
{PortalName} collects and uses your personal 
information to operate the {PortalName} Web site and deliver the services 
you have requested. {PortalName} also uses your personally identifiable 
information to inform you of other products or services available from 
{PortalName} and its affiliates. {PortalName} may also contact you 
via surveys to conduct research about your opinion of current services or of 
potential new services that may be offered.<br><br>
{PortalName} does not sell, 
rent or lease its customer lists to third parties. {PortalName} may, from 
time to time, contact you on behalf of external business partners about a 
particular offering that may be of interest to you. In those cases, your unique 
personally identifiable information (e-mail, name, address, telephone number) 
is not transferred to the third party. In addition, {PortalName} may share 
data with trusted partners to help us perform statistical analysis, send you 
email or postal mail, provide customer support, or arrange for deliveries. All 
such third parties are prohibited from using your personal information except 
to provide these services to {PortalName}, and they are required to 
maintain the confidentiality of your information.<br><br>
{PortalName} does not 
use or disclose sensitive personal information, such as race, religion, or 
political affiliations, without your explicit consent.<br><br>

{PortalName} keeps 
track of the Web sites and pages our customers visit within {PortalName}, 
in order to determine what {PortalName} services are the most popular. 
This data is used to deliver customized content and advertising within 
{PortalName} to customers whose behavior indicates that they are 
interested in a particular subject area.<br><br>
{PortalName} Web sites will 
disclose your personal information, without notice, only if required to do so 
by law or in the good faith belief that such action is necessary to: (a) 
conform to the edicts of the law or comply with legal process served on 
{PortalName} or the site; (b) protect and defend the rights or property of 
{PortalName}; and, (c) act under exigent circumstances to protect the 
personal safety of users of {PortalName}, or the public.<br><br>
<span class="SubHead">Use of Cookies</span><br><br> 
The {PortalName} Web site use "cookies" to help you personalize your 
online experience. A cookie is a text file that is placed on your hard disk by 
a Web page server. Cookies cannot be used to run programs or deliver viruses to 
your computer. Cookies are uniquely assigned to you, and can only be read by a 
web server in the domain that issued the cookie to you.<br><br>
One of the primary 
purposes of cookies is to provide a convenience feature to save you time. The 
purpose of a cookie is to tell the Web server that you have returned to a 
specific page. For example, if you personalize {PortalName} pages, or 
register with {PortalName} site or services, a cookie helps 
{PortalName} to recall your specific information on subsequent visits. 
This simplifies the process of recording your personal information, such as 
billing addresses, shipping addresses, and so on. When you return to the same 
{PortalName} Web site, the information you previously provided can be 
retrieved, so you can easily use the {PortalName} features that you 
customized.<br><br>
You have the ability to accept or decline cookies. Most Web 
browsers automatically accept cookies, but you can usually modify your browser 
setting to decline cookies if you prefer. If you choose to decline cookies, you 
may not be able to fully experience the interactive features of the 
{PortalName} services or Web sites you visit.<br><br>
<span class="SubHead">Security of your Personal Information</span><br><br>
{PortalName} secures your personal information from 
unauthorized access, use or disclosure. {PortalName} secures the 
personally identifiable information you provide on computer servers in a 
controlled, secure environment, protected from unauthorized access, use or 
disclosure. When personal information (such as a credit card number) is 
transmitted to other Web sites, it is protected through the use of encryption, 
such as the Secure Socket Layer (SSL) protocol.<br><br>
<span class="SubHead">Changes to this Statement</span><br><br>

{PortalName} will occasionally update this Statement of Privacy to reflect 
company and customer feedback. {PortalName} encourages you to periodically 
review this Statement to be informed of how {PortalName} is protecting 
your information.<br><br>
<span class="SubHead">Contact Information</span><br><br>
{PortalName} welcomes your comments 
regarding this Statement of Privacy. If you believe that {PortalName} has 
not adhered to this Statement, please contact {PortalName} at {AdministratorEmail}. We 
will use commercially reasonable efforts to promptly determine and remedy the 
problem.
<br>
<br>
If you still have unresolved privacy concerns, you may contact the Privacy Commissioner of Canada at the following address:
<br>
<br>
The Office of the Privacy Commissioner of Canada<br>
112 Kent Street<br>
Ottawa, Ontario K1A 1H3<br>
1 800 282-1376<br>
www.privcom.gc.ca
            </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','PortalTerms','<table width="80%" align="center" border="0">
    <tbody>
        <tr>
            <td><span class="ItemTitle">Terms Of Use between you and {PortalName}</span> <br />
            <br />
            The {PortalName} Web Site is comprised of various Web pages operated by {PortalName}.<br />
            <br />
            The {PortalName} Web Site is offered to you conditioned on your acceptance without modification of the terms, conditions, and notices contained herein. Your use of the {PortalName} Web Site constitutes your agreement to all such terms, conditions, and notices.<br />
            <br />
            <span class="SubHead">MODIFICATION OF THESE TERMS OF USE</span><br />
            <br />
            {PortalName} reserves the right to change the terms, conditions, and notices under which the {PortalName} Web Site is offered, including but not limited to the charges associated with the use of the {PortalName} Web Site.<br />
            <br />
            <span class="SubHead">LINKS TO THIRD PARTY SITES</span><br />
            <br />
            The {PortalName} Web Site may contain links to other Web Sites (&quot;Linked Sites&quot;). The Linked Sites are not under the control of {PortalName} and {PortalName} is not responsible for the contents of any Linked Site, including without limitation any link contained in a Linked Site, or any changes or updates to a Linked Site. {PortalName} is not responsible for webcasting or any other form of transmission received from any Linked Site. {PortalName} is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by {PortalName} of the site or any association with its operators.<br />
            <br />
            <span class="SubHead">NO UNLAWFUL OR PROHIBITED USE</span><br />
            <br />
            As a condition of your use of the {PortalName} Web Site, you warrant to {PortalName} that you will not use the {PortalName} Web Site for any purpose that is unlawful or prohibited by these terms, conditions, and notices. You may not use the {PortalName} Web Site in any manner which could damage, disable, overburden, or impair the {PortalName} Web Site or interfere with any other party''s use and enjoyment of the {PortalName} Web Site. You may not obtain or attempt to obtain any materials or information through any means not intentionally made available or provided for through the {PortalName} Web Sites.<br />
            <br />
            <span class="SubHead">USE OF COMMUNICATION SERVICES</span><br />
            <br />
            The {PortalName} Web Site may contain bulletin board services, chat areas, news groups, forums, communities, personal web pages, calendars, and/or other message or communication facilities designed to enable you to communicate with the public at large or with a group (collectively, &quot;Communication Services&quot;), you agree to use the Communication Services only to post, send and receive messages and material that are proper and related to the particular Communication Service. By way of example, and not as a limitation, you agree that when using a Communication Service, you will not:<br />
            <br />
            <ul>
                <li>Defame, abuse, harass, stalk, threaten or otherwise violate the legal rights (such as rights of privacy and publicity) of others.<br />
                <br />
                </li>
                <li>Publish, post, upload, distribute or disseminate any inappropriate, profane, defamatory, infringing, obscene, indecent or unlawful topic, name, material or information.<br />
                <br />
                </li>
                <li>Upload files that contain software or other material protected by intellectual property laws (or by rights of privacy of publicity) unless you own or control the rights thereto or have received all necessary consents.<br />
                <br />
                </li>
                <li>Upload files that contain viruses, corrupted files, or any other similar software or programs that may damage the operation of another''s computer.<br />
                <br />
                </li>
                <li>Advertise or offer to sell or buy any goods or services for any business purpose, unless such Communication Service specifically allows such messages.<br />
                <br />
                </li>
                <li>Conduct or forward surveys, contests, pyramid schemes or chain letters.<br />
                <br />
                </li>
                <li>Download any file posted by another user of a Communication Service that you know, or reasonably should know, cannot be legally distributed in such manner.<br />
                <br />
                </li>
                <li>Falsify or delete any author attributions, legal or other proper notices or proprietary designations or labels of the origin or source of software or other material contained in a file that is uploaded.<br />
                <br />
                </li>
                <li>Restrict or inhibit any other user from using and enjoying the Communication Services.<br />
                <br />
                </li>
                <li>Violate any code of conduct or other guidelines which may be applicable for any particular Communication Service.<br />
                <br />
                </li>
                <li>Harvest or otherwise collect information about others, including e-mail addresses, without their consent.<br />
                <br />
                </li>
                <li>Violate any applicable laws or regulations. </li>
            </ul>
            {PortalName} has no obligation to monitor the Communication Services. However, {PortalName} reserves the right to review materials posted to a Communication Service and to remove any materials in its sole discretion. {PortalName} reserves the right to terminate your access to any or all of the Communication Services at any time without notice for any reason whatsoever.<br />
            <br />
            {PortalName} reserves the right at all times to disclose any information as necessary to satisfy any applicable law, regulation, legal process or governmental request, or to edit, refuse to post or to remove any information or materials, in whole or in part, in {PortalName}''s sole discretion.<br />
            <br />
            Always use caution when giving out any personally identifying information about yourself or your children in any Communication Service. {PortalName} does not control or endorse the content, messages or information found in any Communication Service and, therefore, {PortalName} specifically disclaims any liability with regard to the Communication Services and any actions resulting from your participation in any Communication Service. Managers and hosts are not authorized {PortalName} spokespersons, and their views do not necessarily reflect those of {PortalName}.<br />
            <br />
            Materials uploaded to a Communication Service may be subject to posted limitations on usage, reproduction and/or dissemination. You are responsible for adhering to such limitations if you download the materials.<br />
            <br />
            <span class="SubHead">MATERIALS PROVIDED TO {PortalName} OR POSTED AT ANY {PortalName} WEB SITE</span><br />
            <br />
            {PortalName} does not claim ownership of the materials you provide to {PortalName} (including feedback and suggestions) or post, upload, input or submit to any {PortalName} Web Site or its associated services (collectively &quot;Submissions&quot;). However, by posting, uploading, inputting, providing or submitting your Submission you are granting {PortalName}, its affiliated companies and necessary sublicensees permission to use your Submission in connection with the operation of their Internet businesses including, without limitation, the rights to: copy, distribute, transmit, publicly display, publicly perform, reproduce, edit, translate and reformat your Submission; and to publish your name in connection with your Submission.<br />
            <br />
            No compensation will be paid with respect to the use of your Submission, as provided herein. {PortalName} is under no obligation to post or use any Submission you may provide and may remove any Submission at any time in {PortalName}''s sole discretion.<br />
            <br />
            By posting, uploading, inputting, providing or submitting your Submission you warrant and represent that you own or otherwise control all of the rights to your Submission as described in this section including, without limitation, all the rights necessary for you to provide, post, upload, input or submit the Submissions.<br />
            <br />
            <span class="SubHead">LIABILITY DISCLAIMER</span><br />
            <br />
YOU EXPRESSLY UNDERSTAND AND AGREE THAT: (A) THE {PortalName} AND THE SERVICES ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS AND THAT NEITHER OF YOUR SERVICE PROVIDERS, THEIR RESPECTIVE AFFILIATES, SUBSIDIARIES, RESELLERS, DISTRIBUTORS, CONTRIBUTORS, AGENTS AND/OR SUPPLIERS, OFFICERS, DIRECTORS NOR EMPLOYEES (THE "SERVICE PROVIDER PARTIES") MAKES ANY WARRANTIES, REPRESENTATIONS OR CONDITIONS (as used in this section "WARRANTIES") OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT AND THAT ANY SUCH WARRANTIES ARE HEREBY EXPRESSLY DISCLAIMED, AND (B) THE SERVICE PROVIDER PARTIES SPECIFICALLY MAKE NO WARRANTIES THAT THE WEBSITE OR ANY OF THE SERVICES, INCLUDING ANY CONTENT, INFORMATION, PRODUCTS OR SERVICES OBTAINED FROM OR THROUGH THE USE OF THE WEBSITE OR THE SERVICES, WILL BE PROVIDED ON AN UNINTERRUPTED, TIMELY, SECURE OR ERROR-FREE BASIS OR THAT SUCH SERVICES OR THE RESULTS DERIVED THEREFROM WILL MEET YOUR REQUIREMENTS OR EXPECTATIONS.<br><br>

YOU EXPRESSLY UNDERSTAND AND AGREE THAT IN NO EVENT SHALL ANY SERVICE PROVIDER PARTY, BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR EXEMPLARY DAMAGES, AND ANY DAMAGES FOR LOSS OF PROFITS, SAVINGS, GOODWILL OR OTHER INTANGIBLE LOSSES, REGARDLESS OF WHETHER SUCH PARTY, HAD BEEN ADVISED OF OR COULD HAVE FORESEEN THE POSSIBILITY OF SUCH DAMAGES, ARISING OUT OF OR IN CONNECTION WITH: (A) THE USE, INABILITY TO USE OR PERFORMANCE OF ANY OF THE SERVICES OR THE WEBSITE, OR (B) ANY UNAUTHORIZED ACCESS TO OR MODIFICATION TO ANY OF YOUR CONTENT OR TRANSMISSIONS, OR (C) ANY OTHER MATTER RELATING TO THE WEBSITE OR ANY OF THE SERVICES, REGARDLESS OR WHETHER ANY OF THE FOREGOING IS DETERMINED TO CONSTITUTE A FUNDAMENTAL BREACH OR FAILURE OF ESSENTIAL PURPOSE.<br><br>
THE INFORMATION, SOFTWARE, PRODUCTS, AND SERVICES INCLUDED IN OR AVAILABLE THROUGH THE {PortalName} WEB SITE MAY INCLUDE INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN. {PortalName} AND/OR ITS SUPPLIERS MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE {PortalName} WEB SITE AT ANY TIME. ADVICE RECEIVED VIA THE {PortalName} WEB SITE SHOULD NOT BE RELIED UPON FOR PERSONAL, MEDICAL, LEGAL OR FINANCIAL DECISIONS AND YOU SHOULD CONSULT AN APPROPRIATE PROFESSIONAL FOR SPECIFIC ADVICE TAILORED TO YOUR SITUATION.<br />
            <br />
            {PortalName} AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, AVAILABILITY, TIMELINESS, AND ACCURACY OF THE INFORMATION, SOFTWARE, PRODUCTS, SERVICES AND RELATED GRAPHICS CONTAINED ON THE {PortalName} WEB SITE FOR ANY PURPOSE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, ALL SUCH INFORMATION, SOFTWARE, PRODUCTS, SERVICES AND RELATED GRAPHICS ARE PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OR CONDITION OF ANY KIND. {PortalName} AND/OR ITS SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION, SOFTWARE, PRODUCTS, SERVICES AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT.<br />
            <br />
            <br />
            SERVICE CONTACT : {AdministratorEmail}<br />
            <br />
            <span class="SubHead">TERMINATION/ACCESS RESTRICTION</span><br />
            <br />
            {PortalName} reserves the right, in its sole discretion, to terminate your access to the {PortalName} Web Site and the related services or any portion thereof at any time, without notice. GENERAL To the maximum extent permitted by law, this agreement is governed by the laws of the State of Washington, U.S.A. and you hereby consent to the exclusive jurisdiction and venue of courts in King County, Washington, U.S.A. in all disputes arising out of or relating to the use of the {PortalName} Web Site. Use of the {PortalName} Web Site is unauthorized in any jurisdiction that does not give effect to all provisions of these terms and conditions, including without limitation this paragraph. You agree that no joint venture, partnership, employment, or agency relationship exists between you and {PortalName} as a result of this agreement or use of the {PortalName} Web Site. {PortalName}''s performance of this agreement is subject to existing laws and legal process, and nothing contained in this agreement is in derogation of {PortalName}''s right to comply with governmental, court and law enforcement requests or requirements relating to your use of the {PortalName} Web Site or information provided to or gathered by {PortalName} with respect to such use. If any part of this agreement is determined to be invalid or unenforceable pursuant to applicable law including, but not limited to, the warranty disclaimers and liability limitations set forth above, then the invalid or unenforceable provision will be deemed superseded by a valid, enforceable provision that most closely matches the intent of the original provision and the remainder of the agreement shall continue in effect. Unless otherwise specified herein, this agreement constitutes the entire agreement between the user and {PortalName} with respect to the {PortalName} Web Site and it supersedes all prior or contemporaneous communications and proposals, whether electronic, oral or written, between the user and {PortalName} with respect to the {PortalName} Web Site. A printed version of this agreement and of any notice given in electronic form shall be admissible in judicial or administrative proceedings based upon or relating to this agreement to the same extent an d subject to the same conditions as other business documents and records originally generated and maintained in printed form. It is the express wish to the parties that this agreement and all related documents be drawn up in English.<br />
            <br />
            <span class="SubHead">TRADEMARKS</span><br />
            <br />
            The names of actual companies and products mentioned herein may be the trademarks of their respective owners.<br />
            <br />
            The example companies, organizations, products, people and events depicted herein are fictitious. No association with any real company, organization, product, person, or event is intended or should be inferred.<br />
            <br />
            Any rights not expressly granted herein are reserved.<br />
            <br />
            If you have any questions about the terms of use, please contact {PortalName} at {AdministratorEmail}. <br />
            <br />
            </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Security_CannotUpload','You do not have permission to upload files.  To request permission you need to contact
<p>{AdministratorEmail}</p>"',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Security_Enter_Portal','You need to use the hyperlink that was send to you in the E-Mail in order to valide your account.  If you still experience some ploblem you can contact the administrator for further help {HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Security_Enter_PortalIP','You are trying to access your account from an IP Adresse that is not allowed.  To seek help please E-Mail to (your IP {IP}) {HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Security_Enter_PortalWait','Your account been looked out for a further 10 minutes.  You or another user was trying to enter your account with an invalid password.  Please wait until this time has expired before trying to log in again.  Or contact the webmaster for help   
{HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Security_Enter_PortalWait1','We have detected a problem with your account.  You account been looked for 10 minutes for security reasons.  Please wait until this time has expired before trying to log in again.  Otherwise you may experience further delays.  For more help you may contact the webmaster at :  
{HostEmail}',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Welcome_Accepted_Private','Your demand been recorded.  The webmaster will analyse your request and inform you by E-Mail of the result.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Welcome_Accepted_public','Your demand been accepted, you can now log in.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','Welcome_Accepted_Verified','Your subscription demand has been saved.  You should receive a validation code by E-Mail in the next few minutes.  You will need to use this code the first time your enter the site.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Terms','Les présentes conditions générales constituent l''intégralité de l''entente pour l''utilisation du site web.  Les conditions générales d''utilisation du site web sont régies par les lois de la province du Québec et par les lois fédérales du Canada applicables et doivent être interprétées en vertu de ces lois.  Si vous désirez plus d''information ou d''aide veuillez nous écrire.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_MAnageUserDefinedTable','<span class="SubHead">Add UDT Columns</span><br>
<span class="Normal">
		<p>Create a user defined table by adding one or more columns. A table must be created before content can be added.</p>
		<ol type="1">
				<li>
						<i>Add</i> a <strong>User Defined Table</strong> module, or <i>go to</i> an existing <strong>User Defined Table</strong> module. 

</li>
				<li>
						<em>Select</em>
						<strong>Manage User Defined Table</strong> from the module menu. 
</li>
				<li>
						<i>Click</i>
						<u>Add New Column</u> to add a table column. 

</li>
				<li>At <strong>Required</strong>, select from the following options: 
<ol type="a"><li><i>Check <img alt="check.gif" src="/Portals/25/OnlineHelp/Images/Icons/check.gif" border="0" height="13" width="13">&nbsp;</i>the check box if entering data into this field is mandatory. 
</li><li><em>Unchecked <img alt="uncheck.gif" src="/Portals/25/OnlineHelp/Images/Icons/uncheck.gif" border="0" height="13" width="13">&nbsp;</em>the check box if entering data into this field is optional. This is the default setting.</li></ol></li>
				<li>At <strong>Visible</strong>, select from the following options: 
<ol type="a"><li><i>Check <img alt="check.gif" src="/Portals/25/OnlineHelp/Images/Icons/check.gif" border="0" height="13" width="13">&nbsp;</i>the check box if column is visible to all authorized users. This is the default setting. 
</li><li><i>Unchecked <img alt="uncheck.gif" src="/Portals/25/OnlineHelp/Images/Icons/uncheck.gif" border="0" height="13" width="13">&nbsp;</i>the check box if the column is only visible to Administrators.</li></ol></li>

				<li>In the <strong>Title</strong> field, <i>enter</i> a title for the column. (Column titles are listed across the top of the table). 
<ul></ul></li>
				<li>At <strong>Type</strong>, <i>select</i> the type of data that can be entered into and displayed for the field. The following options are available: 
<ol type="a"><li><strong>Text</strong>: Enter and display any keyboard characters. 

</li><li><strong>Integer</strong>: Enter and display a whole number. E.g. 8 
</li><li><strong>Decimal</strong>: Enter and display a decimal number. E.g. 8.50 
</li><li><strong>Date and Time</strong>: Displays a selected date and an entered time. E.g. 6/30/2006 9:00 AM 
</li><li><strong>Date</strong>: Display a selected date. E.g. 6/30/2006 
</li><li><strong>Time:</strong> Display an entered time. E.g. 12:30 PM 
</li><li><strong>True/False</strong>: Enter and display a true or false statement. E.g. False. 
</li><li><strong>Email</strong>: Enter and display a valid email address. E.g. <a href="mailto:john.doe@domain.com">john.doe@domain.com</a></li><li><strong>Currency</strong>: Enter and display a currency amount. E.g. 9.00 GBP. See Site Settings to learn how to set the currency type displayed. 

</li><li><strong>URL</strong>: Enter and display a valid URL. E.g. <a href="http://www.domain.com/">http://www.domain.com</a></li><li><strong>Image</strong>: Displays an image that has been uploaded to the web site.</li></ol></li>
				<li>At <strong>Default</strong> (optional), enter the default value for the column. This value will be automatically displayed in this field when entering data to the table. 
</li>
				<li>
						<em>Click</em> the <strong>Save</strong><img alt="Save.gif" src="/Portals/25/OnlineHelp/Images/Icons/Save.gif" border="0" height="18" width="18"> button. 

</li>
				<li>
						<i>Repeat</i> Steps 3-9 to add additional columns. 
</li>
				<li>
						<i>Click </i>
						<u>Back</u> to return to the module. </li>

		</ol></span>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Privacy','You will find in this page the site privacy statement.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_Terms','You will find in this page the terms and policy for this site.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_MAnageUserDefinedTable','Fonction de paramétrisation.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_MyBuddiesModule','Fonction de paramétrisation.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_NeedToLogin','Vous devez ouvrir une session.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_AccessDenied','<table width="80%" border="0" align="center">
    <tbody>
        <tr>
            <td> <span style="" class="ItemTitle"> Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span>  <br /> <br /> <span class="ItemTitle"> COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span>  <br /> <br /> Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.  <br /> <br /> <span class="ItemTitle"> MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span>  <br /> <br /> {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle"> UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span>  <br /> <br /> Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}.  <br /> <br /> <span class="ItemTitle"> LIENS VERS DES SITES TIERS </span>  <br /> <br /> Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites.  <br /> <br /> <span class="ItemTitle"> UTILISATION ILLICITE OU INTERDITE</span>  <br /> <br /> Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle">QUESTIONS</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br /> <br /> </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_UserListModule','Fonction d''ajout et de modification.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_UserInfoModule','Fonction d''ajout et de modification.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumSubscribe','Fonction de paramétrisation du forum.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Signin','<table width="80%" border="0" align="center">
    <tbody>
        <tr>
            <td> <span style="" class="ItemTitle"> Conditions g&eacute;n&eacute;rales d''utilisation entre vous et {PortalName}</span>  <br /> <br /> <span class="ItemTitle"> COMPTE D''UTILISATEUR, MOT DE PASSE ET S&Eacute;CURIT&Eacute;</span>  <br /> <br /> Si vous ouvrez un compte sur le site web {PortalName}, vous devez compl&eacute;ter le formulaire d''inscription avec des informations actuelles, compl&egrave;tes et exactes, comme le formulaire d''inscription en question vous y invite. Vous choisirez ensuite un mot de passe et un nom d''utilisateur. Vous &ecirc;tes enti&egrave;rement responsable du maintien de la confidentialit&eacute; de votre mot de passe et de votre nom d''utilisateur. Vous &ecirc;tes en outre enti&egrave;rement responsable de toute activit&eacute; ayant lieu sous votre compte. Vous vous engagez &agrave;&nbsp; avertir imm&eacute;diatement {PortalName} de toute utilisation non autoris&eacute;e de votre compte, ou de toute autre atteinte &agrave;&nbsp; la s&eacute;curit&eacute;. {PortalName} ne pourra en aucun cas &ecirc;tre tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. N&eacute;anmoins, votre responsabilit&eacute; pourrait &ecirc;tre engag&eacute;e si {PortalName} ou un tiers subissait des dommages dus &agrave;&nbsp;l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.  <br /> <br /> <span class="ItemTitle"> MODIFICATION DES PR&Eacute;SENTES CONDITIONS D''UTILISATION</span>  <br /> <br /> {PortalName} se r&eacute;serve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont propos&eacute;s. Il vous incombe de consulter r&eacute;guli&egrave;rement ces termes et conditions d''utilisation. Votre utilisation renouvel&eacute;e du site web {PortalName} constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle"> UTILISATION LIMIT&Eacute;E &Agrave; DES FINS PERSONNELLES ET NON COMMERCIALES</span>  <br /> <br /> Sauf indication contraire, le site web {PortalName} est destin&eacute; &agrave;&nbsp; &ecirc;tre utilis&eacute;s &agrave;&nbsp; des fins personnelles et non commerciales. Vous n''&ecirc;tes pas autoris&eacute; &agrave;&nbsp; modifier, copier, distribuer, transmettre, diffuser, repr&eacute;senter, reproduire, publier, conc&eacute;der sous licence, cr&eacute;er des oeuvres d&eacute;riv&eacute;es, transf&eacute;rer ou vendre tout information, logiciel, produit ou service obtenu &agrave;&nbsp; partir de ce site web. Vous ne pouvez pas utiliser le site web {PortalName} &agrave;&nbsp; des fins commerciales, sans l''autorisation expresse, &eacute;crite et pr&eacute;alable, de {PortalName}.  <br /> <br /> <span class="ItemTitle"> LIENS VERS DES SITES TIERS </span>  <br /> <br /> Le site web {PortalName} peut contenir des images de, et des liens vers des sites Web g&eacute;r&eacute;s par des tiers. {PortalName} n''exerce aucun contr&ocirc;le sur ces sites et n''assume aucune responsabilit&eacute; quant &agrave;&nbsp;leur contenu, ni notamment quant au contenu des liens pr&eacute;sent&eacute;s dans ces sites, ou encore aux modifications ou mises &agrave; jour apport&eacute;es &agrave;&nbsp; ces sites.  <br /> <br /> <span class="ItemTitle"> UTILISATION ILLICITE OU INTERDITE</span>  <br /> <br /> Vous ne pouvez utiliser le site web {PortalName} qu''&agrave;&nbsp; condition de garantir que vous ne l''utiliserez pas &agrave;&nbsp; des fins illicites ou interdites par ces termes, conditions d''utilisation et mentions d''avertissement.  <br /> <br /> <span class="ItemTitle">QUESTIONS</span> <br /> <br /> Si vous avez des questions ou des commentaires au sujet des conditions d''utilisation, n''h&eacute;sitez pas &agrave; vous adresser {PortalName} par courriel &agrave; {AdministratorEmail}. <br /> <br /> </td>
        </tr>
    </tbody>
</table>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_PMSOutbox','Messages envoyés',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_ForumSearch','<p align="center"><span class="Head">Recherche pour le forum</span></p>
<p align="left">&nbsp;Vous pouvez&nbsp; rechercher des messages dans le forum avec une ou plusieurs des options suivantes :</p>
<ul>
    <li>Recherche dans le message </li>
    <li>Recherche dans le sujet du message </li>
    <li>Recherche des messages d''un auteur</li>
    <li>Recherche par date </li>
    <li>Recherche dans des sections ou des forums </li>
</ul>
<p>&nbsp;Si il n''y a aucune information dans un champ, cette option de recherche ne sera pas activ&eacute;e.</p>
<p>Si vous avez saisie le texte &quot;Avions&quot; dans le champ<font style="background-color: rgb(255, 102, 0);"> Messsage</font> et une date de d&eacute;but et de fin, les messages recherch&eacute;s seront&nbsp;ceux qui ont &eacute;t&eacute; r&eacute;dig&eacute;s entre la date de d&eacute;but et la date de fin seulement avec le texte &quot;Avions&quot; dans le corps du message.</p>
<p>Donc,&nbsp;si vous utilisez plusieurs champs de recherche en m&ecirc;me temps le nombre potentiel de message&nbsp;sera d''autant plus limit&eacute;.&nbsp;</p>
<p>&nbsp;</p>
<p>Exemple :&nbsp; Pour trouver tous les messages r&eacute;dig&eacute;s par &quot;Webmestre&quot; vous avez juste a saisir&nbsp;<font style="background-color: rgb(255, 255, 0);"> Webmestre</font> dans le champ<font style="background-color: rgb(255, 102, 0);"> auteur</font> et effacer tous les autre champs.</p>
<p><br />
</p>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_EditMapGoogle','<div style="text-align: center;">
<h1>GOOGLE MAP</h1>
<br />
<div style="text-align: left;">Pour exploiter les donn&eacute;es Google Maps il vous faudra tout d''abord dispose d''une clef d''API. Celle-ci est gratuite et disponible instantan&eacute;ment pour tout possesseur d''un compte Google Account : il suffit alors de se rendre sur le site de l''API, cliquer sur &quot;Sign up for a Google Maps API key&quot;.<br />
<br />
Lors de votre inscription, vous devez retenir quelques d&eacute;tails importants : votre clef est limit&eacute;e &agrave; 50 000 requ&ecirc;tes de codes g&eacute;ographiques par tranche de 24h, et pr&eacute;f&eacute;rablement moins de 500&nbsp;000 pages vues. Votre carte doit &ecirc;tre accessible &agrave; tous, inchang&eacute;e, et ne peut se trouver que dans le dossier (ou l''un de ses sous-dossiers) indiqu&eacute; lors de votre inscription - sans quoi, il vous faudra une autre clef. <br />
<br />
<br />
<br />
<br />
<br />
</div>
</div>',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_Privacy','La présente déclaration de confidentialité divulgue nos pratiques relatives à la protection de la vie privée. En utilisant le site web, vous consentez sans réserve à la collecte,  l''utilisation et  la divulgation de vos renseignements personnels et aux pratiques relatives à la protection de la vie privée énoncées dans la déclaration de confidentialité.  Si vous désirez plus d''information ou d''aide veuillez nous écrire.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('fr','DisplayHelp_RegisterEdit','Fonction de paramétrisation.',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_EditFile','Help information Edit File',NULL)
INSERT INTO [dbo].[longlanguageSettings] ([language],[SettingName],[SettingValue],[PortalId]) VALUES('en','DisplayHelp_TAGFileManagerModule','DisplayHelp_TAGFileManagerModule',NULL)
GO


/******************************************************
  Insert data  End
******************************************************/
IF(	IDENT_INCR( 'dbo.longlanguageSettings' ) IS NOT NULL OR IDENT_SEED('dbo.longlanguageSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.longlanguageSettings OFF
GO

-----------------------------------------------------------
--Insert data into dbo.ModuleDefinitions
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.ModuleDefinitions' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleDefinitions') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleDefinitions ON
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('1','Babillard','DesktopModules/Announcements/Announcements.ascx',NULL,0,0,NULL,'DesktopModules/Announcements/EditAnnouncements.ascx',1,'Le module fait part d''une liste de communiqué.  Chacun des communiqué a un titre, du texte et un Hyperlien "lire plus" et en plus peut se terminer automatiquement avec une date d''expiration.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('2','Contacts','DesktopModules/Contacts/Contacts.ascx',NULL,0,0,NULL,'DesktopModules/Contacts/EditContacts.ascx',1,'Liste de contacts - nom adresse ou autres',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('3','Discussions','DesktopModules/Discussions/Discussion.ascx',NULL,0,0,NULL,'DesktopModules/Discussions/DiscussDetails.ascx',1,'Ce module affiche un groupe de message sur une matière spécifique. La discussion permet aux utilisateurs autorissés de répondre aux messages ou d''en ajouter un nouveau. Les données pour la discussion sont stockées dans la base de données de SQL.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('4','Calendrier','DesktopModules/Events/Events.ascx',NULL,0,0,NULL,'DesktopModules/Events/EditEvents.ascx',1,'Ce module rend une liste d''événements prochains, y compris le temps et l''endroit. Différents événements peuvent être placés pour expirer automatiquement de la liste après une date particulière. Les événements inclut une page d''édition, qui permet aux utilisateurs autorissés de modifier les données d''événements stockées dans la base de données de SQL.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('5','HTML/Texte','DesktopModules/HTML/HtmlModule.ascx',NULL,0,0,NULL,'DesktopModules/HTML/EditHTML.ascx',1,'Ce module rend un snippet de HTML ou de texte. Le module de Html/Text inclut une page d''édition, qui permet les utilisateurs autorisé aux snippets de HTML ou de textes directement. Les snippets sont stockés dans la base de données de SQL.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('6','Image','DesktopModules/Images/ImageModule.ascx',NULL,0,0,NULL,'DesktopModules/Images/EditImage.ascx',1,'Ce module affiche une image en utilisant une étiquette de HTML IMG. Le module place simplement l''attribut de src d''étiquettes d''IMG  un parent ou  un Absolute URL, ainsi le dossier d''image n''a pas besoin de résider dans le portail. Le module affiche également des attributs de taille et de largeur, qui vous permet de mesurer l''image. Le module inclut une page d''édition pour modifier la configuration.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('7','Hyperliens','DesktopModules/Links/Links.ascx',NULL,0,0,NULL,'DesktopModules/Links/EditLinks.ascx',1,'Ce module rend une liste d''hyperliens. Les liens inclut une page d''édition, qui permet aux utilisateurs autorissés d''éditer les données de liens stockées dans la base de données de SQL.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('9','XML/XSL','DesktopModules/XML/XmlModule.ascx',NULL,0,0,NULL,'DesktopModules/XML/EditXml.ascx',1,'Ce module rend le résultat d''un XML/XSL transforment. Les dossiers de XML et de XSL sont identifiés par leurs chemins d''UNC dans les propriétés de xmlsrc et de xslsrc du module. Le module de Xml/Xsl inclut une page d''édition, l''information est stockés dans la base de données de SQL.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('10','Documents','DesktopModules/Documents/Document.ascx',NULL,0,0,NULL,'DesktopModules/Documents/EditDocs.ascx',1,'Ce module affiche une liste de documents, y compris des liens pour visionner ou télécharger le document. Vous pouvez modifier les paramètres du module, tel que le titre.  Les informations sont stokés dans la base de données  SQL.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('12','Paramètres de sécurité','Admin/Users/Roles.ascx','',1,0,'4','Admin/Users/EditRoles.ascx',1,'L''administrateur peu contrôler les profils de sécurité du portail. Le module vous permet d''ajouter, modifier, supprimer et contrôler les profils de sécurités ainsi que leurs attribution aux utilisateurs.','icon_securityroles_16px.gif','icon_securityroles_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('22','FAQs','DesktopModules/FAQs/FAQs.ascx',NULL,0,0,NULL,'DesktopModules/FAQs/EditFAQs.ascx',1,'Vous permet de gérer un liste de réponse au question élémentaire posée par un internaute novice.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('44','Réseau nouvelles (RSS)','DesktopModules/News/RssModule.ascx',NULL,0,0,NULL,'DesktopModules/News/EditRss.ascx',1,'Le module vous donne de l''information par reseau RSS.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('45','Vendor Feedback',NULL,NULL,0,0,NULL,'DesktopModules/Vendors/VendorFeedback.ascx',0,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('67','Rétroaction','DesktopModules/Feedback/Feedback.ascx',NULL,0,0,NULL,NULL,1,'La rétroaction permet à des visiteurs d''envoyer des messages à l''administrateur du portail.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('13','Onglets','Admin/Tabs/Tabs.ascx','',1,0,'3','Admin/Tabs/ManageTabs.ascx',1,'L''administrateur peut contrôler les pages dans le portail. Ce module permet de créer, modifier, supprimer, changer l''ordre et de changer le niveau hiérarchique des pages.','icon_tabs_16px.gif','icon_tabs_34px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('14','Paramètres du site','Admin/Portal/SiteSettings.ascx','',1,0,'2','',1,'Les paramètres du site représentent les options locales pour votre portail. Le module vous permet d''adapter votre portail pour répondre à vos exigences.','icon_sitesettings_16px.gif','icon_sitesettings_36px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('15','Gestion usagers','Admin/Users/Users.ascx','',1,0,'5','Admin/Users/ManageUsers.ascx',1,'Le module sert à gérer les utilisateurs enregistrés. Il vous permet d''ajouter, modifier et supprimer des comptes utilisateurs ainsi que de contrôler leurs profils de sécurité.','icon_users_16px.gif','icon_users_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('19','Fournisseurs','Admin/Vendors/Vendors.ascx','',1,1,'7','Admin/Vendors/EditVendors.ascx',0,'Le module sert à gérer les comptes fournisseurs et les oriflammes associés au portail. Ce module vous permet d''ajouter un nouveau, modifier, et supprimer un compte fournisseur.','icon_vendors_16px.gif','icon_vendors_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('20','Oriflammes','DesktopModules/Banners/Banners.ascx',NULL,0,0,NULL,'DesktopModules/Banners/EditBanners.ascx',1,'La publicité par oriflamme est contrôlée par le module de  fournisseurs dans la page d''Admin. Vous pouvez choisir le nombre et le type d''oriflamme.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('21','Gestion fichiers','Admin/Files/FileManager.ascx','',1,1,'6','Admin/Files/WebUpload.ascx',0,'Le module sert à gérer les fichiers stockés sur le portail web. Le module vous permet de télécharger, supprimer et de synchroniser la liste des fichiers avec la basse de données SQL. Il fournit également des informations sur la quantité d''espace disque utilisée et disponible.','icon_filemanager_16px.gif','icon_filemanager_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('27','Statistiques','Admin/Log/SiteLog.ascx','',1,0,'8',NULL,1,'Le module sert à voir les statistiques d''utilisations de votre portail.  Plus particulièrement, qui utilise le site, quand et comment.','icon_sitelog_16px.gif','icon_sitelog_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('28','Courriel','Admin/Users/BulkEmail.ascx','',1,0,'9',NULL,1,'Le module sert à envoyer du courriel en bloc aux utilisateurs appartenant à un profil de sécurité particulier.','icon_bulkmail_16px.gif','icon_bulkmail_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('39','Répertoire fournisseurs','DesktopModules/Vendors/Directory.ascx',NULL,0,0,NULL,'DesktopModules/Vendors/EditDirectory.ascx',1,'L''annuaire de service expose la liste de fournisseurs maintenus dans la page d''Admin. Ce module vous permet de rechercher des fournisseurs bassé sur des critères de mot clé.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('49','Banner',NULL,NULL,0,0,NULL,'Admin/Vendors/EditBanner.ascx',1,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('50','User Roles',NULL,NULL,0,0,NULL,'Admin/Users/SecurityRoles.ascx',1,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('51','Module',NULL,NULL,0,0,NULL,'Admin/Tabs/ModuleSettings.ascx',1,NULL,NULL,'icon_moduledefinitions_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('52','Access Denied',NULL,NULL,0,0,NULL,'Admin/Security/AccessDenied.ascx',0,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('53','Edit Access Denied',NULL,NULL,0,0,NULL,'Admin/Security/EditAccessDenied.ascx',0,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('54','Register',NULL,NULL,0,0,NULL,'Admin/Users/Register.ascx',0,'Vous devez saisir toutes les informations requises.  Soyez assurez que nous ne dilvulgerons pas cette information à des tierces parties.  Tous les renseignements personnels  sont conservés et protégés en vertu de la Loi sur la protection des renseignements personnels.  Nous vous demandons de lire la déclaration de confidentialité ainsi que les conditions générales d''utilisation sur site web.  Si vous désirez plus d''information ou d''aide veuillez nous écrire.',NULL,'icon_users_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('55','Module Definition',NULL,NULL,0,0,NULL,'Admin/Portal/ModuleDefinitions.ascx',1,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('56','Purchase',NULL,NULL,0,0,NULL,'Admin/Sales/Purchase.ascx',0,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('82','En ligne petit','DesktopModules/UsersOnline/usersonlinemodulesmall.ascx',NULL,0,0,NULL,NULL,1,'Le module affiche le nombre de personne en ligne.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('87','Admin','admin/menu/adminmenu.ascx',NULL,1,0,'1',NULL,1,'Menu pour les fonctions d''administrations','icon_site_16px.gif','icon_site_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('88','Language','admin/portal/languagedefs.ascx',NULL,0,1,'9','',1,'Section pour localisation et modification des paramètres linguistique','icon_language_16px.gif','icon_language_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('57','Privacy',NULL,NULL,0,0,NULL,'Admin/Portal/Privacy.ascx',0,'La présente déclaration de confidentialité divulgue nos pratiques relatives à la protection de la vie privée. En utilisant le site web, vous consentez sans réserve à la collecte,  l''utilisation et  la divulgation de vos renseignements personnels et aux pratiques relatives à la protection de la vie privée énoncées dans la déclaration de confidentialité.  Si vous désirez plus d''information ou d''aide veuillez nous écrire.',NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('58','Terms',NULL,NULL,0,0,NULL,'Admin/Portal/Terms.ascx',0,'Les présentes conditions générales constituent l''intégralité de l''entente pour l''utilisation du site web.  Les conditions générales d''utilisation du site web sont régies par les lois de la province du Québec et par les lois fédérales du Canada applicables et doivent être interprétées en vertu de ces lois.  Si vous désirez plus d''information ou d''aide veuillez nous écrire.',NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('61','Signup',NULL,NULL,0,0,NULL,'Admin/Portal/Signup.ascx',0,'Veuillez inscrire les information demandés.  Si vous éprouvez des difficultés et vous désirez obtenir de l''aide nous vous demandons d''écrire.',NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('63','Portails','Admin/Portal/Portals.ascx',NULL,0,1,'2','Admin/Portal/SiteSettings.ascx',1,'Le webmestre peu contrôler les paramètres d''hébergements des portails. Ce module vous permet d''ajouter, modifier et supprimer un portail.','icon_portals_16px.gif','icon_portals_40px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('64','Gérer les modules','Admin/Portal/ModuleDefs.ascx',NULL,0,1,'3','Admin/Portal/ModuleDefinitions.ascx',1,'Vous pouvez modifier les noms ainsi que les définitions des modules.','icon_moduledefinitions_16px.gif','icon_moduledefinitions_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('65','SQL','Admin/Portal/SQL.ascx',NULL,0,1,'8','',1,'Le webmestre peut executer des commandes de base de donnée SQL.','icon_sql_16px.gif','icon_sql_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('66','IFrame','DesktopModules/IFrame/IFrame.ascx',NULL,0,0,NULL,'DesktopModules/IFrame/EditIFrame.ascx',1,'IFrame est un dispositif de browser d''Internet Explorer qui vous permet de montrer le contenu d''un autre site Web dans une armature sur votre emplacement.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('68','Google Map','DesktopModules/Maps/MapGoogle.ascx',NULL,0,0,NULL,'DesktopModules/Maps/EditMapGoogle.ascx',1,'La recherche de carte vous permet de montrer une image fonctionnelle de carte a partir du service de GIS de Google  Map.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('72','Paramètres d''hébergement','admin/Portal/HostSettings.ascx',NULL,0,1,'1',NULL,1,'Le webmestre peut gérer tous les paramètres maître pour le site d''hébergement.','icon_hostsettings_16px.gif','icon_hostsettings_36px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('69','Réseau météo','DesktopModules/Weather/WeatherNetwork.ascx',NULL,0,0,NULL,'DesktopModules/Weather/EditWeatherNetwork.ascx',1,'Sources des données météo. Conditions routières Vous savez comment l''état des routes est important pour votre sécurité lors de la conduite hivernale. Cartes et bulletins saisonniers des prévisions Météo.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('70','Table à définir','DesktopModules/UserDefinedTable/UserDefinedTable.ascx',NULL,0,0,NULL,'DesktopModules/UserDefinedTable/EditUserDefinedTable.ascx',1,'Vous permet de créer un tableau sur mesure et d''y afficher des données.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('71','Manage UDT',NULL,NULL,0,0,NULL,'DesktopModules/UserDefinedTable/ManageUserDefinedTable.ascx',1,NULL,NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('83','Liste membres','DesktopModules/UsersOnline/UserListModule.ascx',NULL,0,0,NULL,'DesktopModules/UsersOnline/UserListModule.ascx',1,'Le module permet à  un usager de fureter la liste des usagers d''un portail.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('84','En ligne courriel','DesktopModules/UsersOnline/MyMessagesModule.ascx',NULL,0,0,NULL,NULL,1,'Le module affiche pour un usager en particulier le nombre total de message lu et à  lire.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('77','En ligne','DesktopModules/UsersOnline/usersonlinemodule.ascx',NULL,0,0,NULL,NULL,1,'Le module affiche le nombre de personne en ligne.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('78','En ligne messagerie','DesktopModules/UsersOnline/PrivateMessagesModule.ascx',NULL,0,0,NULL,NULL,1,'Le module permet aux usagers de se faire parvenir du courriel interne au portail.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('79','En ligne usagers préférés','DesktopModules/UsersOnline/MyBuddiesModule.ascx',NULL,0,0,NULL,NULL,1,'Le module donne une liste d''usagers préférés aux membres quand ils sont en ligne.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('80','UserInfo',NULL,NULL,0,0,NULL,'DesktopModules/UsersOnline/UserInfoModule.ascx',0,'De l''info de base sur un membre.',NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('74','Bienvenue',NULL,NULL,0,0,NULL,'Admin/Portal/Bienvenue.ascx',0,'Vous êtes entièrement responsable du maintien de la confidentialité de votre mot de passe et de votre nom d''utilisateur. Vous êtes en outre entièrement responsable de toute activité ayant lieu sous votre compte. Vous vous engagez à avertir immédiatement le webmestre de toute utilisation non autorisée de votre compte, ou de toute autre atteinte à la sécurité. René Boulard ne pourra en aucun cas être tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. Néanmoins, votre responsabilité pourrait être engagée si le site web ou un tiers subissait des dommages dus à l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.',NULL,'icon_users_32px.gif',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('73','Recherche','DesktopModules/Search/Search.ascx',NULL,0,0,NULL,'DesktopModules/Search/EditSearch.ascx',1,'Le webmestre peut contrôler les paramètres d''hébergements des portails. Ce module vous permet d''ajouter, modifier et supprimer un portail.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('75','Forum','DesktopModules/TTTForum/TTT_ForumDispatch.ascx',NULL,0,0,NULL,'DesktopModules/TTTForum/TTT_EditForum.ascx',1,'Forum',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('76','Galerie de photos','DesktopModules/TTTGallery/TTT_GalleryDispatch.ascx',NULL,0,0,NULL,'DesktopModules/TTTGallery/TTT_EditGallery.ascx',1,'Le module est un système de gestion des fichiers images, photos, médias.
Dans chaque album vous pouvez avoir des sous albums sans avoir à créer un nouvel album sur une page. Vous pouvez assigner un fichier gif ou jpg pour l?image de chaque répertoire si vous désirez. Pour ce faire vous devez utiliser la petite baguette magique sous l?icône du répertoire. Pour modifier l?icône par défaut, vous devrez mettre un nouvel icône dans le répertoire _res avec le même non que le non du répertoire que vous voulez modifier l?apparence. Vous pouvez aussi modifier l?icône pour les fichiers vidéo ou flash.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('81','PrivateMessages',NULL,NULL,0,0,NULL,'DesktopModules/UsersOnline/PrivateMessagesModule.ascx',0,'La messagerie vous permet de faire parvenir des messages aux membres. Un avis courriel sera expédié au destinataire du message pour l''informer qu''un message est disponible sur le site web.',NULL,NULL,0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('90','Info Système','DesktopModules/EnLigne/EnLigne.ascx',NULL,0,0,NULL,NULL,1,'Information sur le serveur.',NULL,'',0)
INSERT INTO [dbo].[ModuleDefinitions] ([ModuleDefID],[FriendlyName],[DesktopSrc],[HelpSrc],[IsAdmin],[IsHost],[AdminOrder],[EditSrc],[Secure],[Description],[AdminTabIcon],[EditModuleIcon],[IsPremium]) VALUES('86','demo',NULL,NULL,0,0,NULL,'Admin/Portal/demo.ascx',0,'Vous êtes entièrement responsable du maintien de la confidentialité de votre mot de passe et de votre nom d''utilisateur. Vous êtes en outre entièrement responsable de toute activité ayant lieu sous votre compte. Vous vous engagez à  avertir immédiatement Modeliste.net de toute utilisation non autorisée de votre compte, ou de toute autre atteinte à  la sécurité. Modeliste.net ne pourra en aucun cas être tenue pour responsable d''un quelconque dommage que vous subiriez du fait de l''utilisation par autrui de votre mot de passe ou de votre compte, que vous ayez eu connaissance ou non de cette utilisation. Néanmoins, votre responsabilité pourrait être engagée si Modeliste.net ou un tiers subissait des dommages dus à l''utilisation par autrui de votre compte ou de votre mot de passe. Il ne vous est jamais permis d''utiliser le compte d''autrui sans l''autorisation du titulaire du compte.<br><br>Modeliste.net se réserve le droit de modifier les termes, conditions et mentions d''avertissement applicables au site et Services qui vous sont proposés. Il vous incombe de consulter régulièrement ces termes et conditions d''utilisation. Votre utilisation renouvelée du site web Modeliste.net constitue l''acceptation de votre part de tous ces termes, conditions d''utilisation et mentions d''avertissement. <br><br>Sauf indication contraire, le site web Modeliste.net est destiné à  être utilisés à  des fins personnelles et non commerciales. Vous n''êtes pas autorisé à  modifier, copier, distribuer, transmettre, diffuser, représenter, reproduire, publier, concéder sous licence, créer des oeuvres dérivées, transférer ou vendre tout information, logiciel, produit ou service obtenu à  partir de ce site web. Vous ne pouvez pas utiliser le site web Modeliste.net à  des fins commerciales, sans l''autorisation expresse, écrite et préalable, de Modeliste.net.<br><br>Vous ne pouvez utiliser le site web Modeliste.net qu''à  condition de garantir que vous ne l''utiliserez pas à  des fins illicites ou interdite','icon_hostsettings_36px.gif',NULL,0)
IF(	IDENT_INCR( 'dbo.ModuleDefinitions' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleDefinitions') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleDefinitions OFF
GO

-----------------------------------------------------------
--Insert data into dbo.ModuleDefinitionsNames
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.ModuleDefinitionsNames' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleDefinitionsNames') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleDefinitionsNames ON
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('1','Babillard','fr','Le module fait part d''une liste de communiqué.  Chacun des communiqué a un titre, du texte et un Hyperlien "lire plus" et en plus peut se terminer automatiquement avec une date d''expiration.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('4','Calendrier','fr','Ce module rend une liste d''événements prochains, y compris le temps et l''endroit. Différents événements peuvent être placés pour expirer automatiquement de la liste après une date particulière. Les événements inclut une page d''édition, qui permet aux utilisateurs autorissés de modifier les données d''événements stockées dans la base de données de SQL.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('2','Contacts','fr','Liste de contacts - nom adresse ou autres')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('5','Texte/HTML','fr','Ce module rend un snippet de HTML ou de texte. Le module de Html/Text inclut une page d''édition, qui permet les utilisateurs autorisé aux snippets de HTML ou de textes directement. Les snippets sont stockés dans la base de données de SQL.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('87','Admin','fr','Menu pour les fonctions d''administrations')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('28','Courriel','fr','Le module sert à envoyer du courriel en bloc aux utilisateurs appartenant à un profil de sécurité particulier.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('65','SQL','fr','Vous pouvez saisir des requêtes et les exécuter.  Aussi, en utilisant le fureteur, vous pouvez exécuter un fichier script.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('63','Portails','fr','Le webmestre peut contrôler les paramètres d''hébergements des portails. Ce module vous permet d''ajouter, modifier et supprimer un portail.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('12','Paramètres de sécurité','fr','L''administrateur peut contrôler les profils de sécurité du portail. Le module vous permet d''ajouter, modifier, supprimer et contrôler les profils de sécurités ainsi que leurs attribution aux utilisateurs.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('3','Discussions','en','This module is used to posts messages. It is a simplified forum.  The information is stored in the SQL data base.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('1','Annoncement','en','The module is used to make announcements. Each announcement has a title and text.  A hyperlink can be created for each announcement to redirect to an external or internal URL.  A expiry date can automatically remove the announcement.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('4','Events','en','This module returns a list of events, by date, time and  place. A event can be made to expire automatically at a particular date.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('2','Contacts','en','Module to store and list contacts.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('10','Documents','en','This module shows a list of documents with hyperlinks to view or download the documents.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('77','On line','en','To show the number of people on line at a particular time.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('84','Private message info','en','Show the total number of messages in the inbox and outbox.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('78','Private message','en','Module to send, read and receive private messages from and to registered user of the site.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('82','On line (small)','en','To show the number of people on line at a particular time.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('79','On line buddies','en','Allow to set a buddy list and make a search to see if they are on line or not.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('7','Links','en','The Links Module produces a list of hyperlinks to any tab, image or file on your portal or to a web page, image or file on the web. The links can be set to display vertically, horizontal or in a drop down box. The links appear alphabetically by default. An indexing field facilitates custom sorting. A supplemental description can be set to appear either on mouseover or on the click of a dynamically generated link.  Link click tracking and logged are available.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('20','Banners','en','The Banners Module displays rotating banner advertising for Site and Host Vendors.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('39','Vendors','en','The module allow to show vendors services and feedback.  Vendors can be allowed to self register.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('70','User Defined Table (UDT)','en','The User Defined Table (UDT) module enables the creation of a table which can be populated with  data.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('67','Feedback','en','The Feedback module allows users to send messages to the Site Administrator (default setting), or any other email address as set by the Site Administrator.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('69','Weather','en','Make a link to the weather network.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('63','Portals Settings','en','Manage existing portals and create new portals.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('13','Pages','fr','L''administrateur peut contrôler les pages dans le portail. Ce module permet de créer, modifier, supprimer, changer l''ordre et de changer le niveau hiérarchique des pages.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('22','FAQs','en','The FAQs Module allows Authorized Users to manage a list of Frequently Asked Questions and their corresponding answers. The question is displayed as a link, requiring the user to click on a question to view the corresponding answer.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('75','Forum','en','The Forums module manages multiple forums. Each forum post includes a subject title and content. Additional posting tools include the ability to quote an existing post, add attachment to a post, pin a post, notification of replies posts and the ability to lock a post from replies.<br>
The Forums module has optional features including a What''s New pane and a Statistical Information pane.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('5','Text/HTML','en','The Text/HTML module renders plain text, rich text or HTML. The module provides the following two different editing views.  A plain text box or WYSIWYG (What you see is what you get) editor with functionality such as hyperlinks, email links, drop and drag image gallery, bullet points, spell check and more.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('44','News Feeds (RSS)','en','The News Feeds (RSS) module display news feeds on your site. A news feed is a dynamically generated list of news items; each containing a title with a link to read more, and a brief description of the news item.  RSS is an acronym for Really Simple Syndication.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('90','Info Système','fr','Information sur le serveur.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('87','Admin','en','The Site Administrator has full control to build and maintain their site. Administrators have access to the Control Panel and the Admin page which has six (6) child pages that handle administration tasks.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('13','Pages','en','The pages page offers Adminstrators management tools for managing hidden pages and page hierarchy.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('64','Modules settings','en','Add new modules and manage existing modules.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('21','File explorer','en','The page allow you to browse the file system.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('27','Site log','en','This page displays statistical reports for this web site.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('28','E-Mail','en','This page enables the Administrators to send messages to users, email addresses and security roles.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('90','Info System','en','The module show the number of active connections to the server, the server up time, the number of ASP.NET restart, the number of memory cashe used and the amount of free memory left.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('72','Host settings','en','Management of Host setting.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('14','Paramètres du site','fr','Les paramètres du site représentent les options locales pour votre portail. Le module vous permet d''adapter votre portail pour répondre à vos exigences.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('64','Gérer les modules','fr','Vous pouvez modifier les noms ainsi que les définitions des modules.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('15','Gestion usagers','fr','Le module sert à gérer les utilisateurs enregistrés. Il vous permet d''ajouter, modifier et supprimer des comptes utilisateurs ainsi que de contrôler leurs profils de sécurité.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('19','Vendors','en','This page manages Vendor accounts within this web site.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('27','Statistiques','fr','Le module sert à voir les statistiques d''utilisations de votre portail.  Plus particulièrement, qui utilise le site, quand et comment.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('76','Gallery','en','The Gallery module manages multiple media formats.  Media can be sorted in folders and can be displayed in different views including a slideshow.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('21','Gestion fichiers','fr','Le module sert à gérer les fichiers stockés sur le portail web. Le module vous permet de télécharger, supprimer et de synchroniser la liste des fichiers avec la basse de données SQL. Il fournit également des informations sur la quantité d''espace disque utilisée et disponible.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('66','IFrame','en','The IFrame module displays content from another site within a frame on the site.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('6','Image','en','The Image module renders an image that has been uploaded to the File Manager. The height and width of images is exposed on the edit page, permitting Authorized User to alter the size of the rendered image.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('83','Members list','en','A module to search and show basic info about members.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('9','XML/XSL','en','The XML/XSL module displays the result of an XML/XSL transform. By combining the transformation language of XSL (Extensible Style Sheet Language) to the data contained in an XML (Extensible Markup Language) document, you can create multiple output formats from the same XML document.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('68','Google Map','en','Allow the user to have a quick link to Google Map.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('73','Search','en','The Search module displays a Search Box enabling authorized users to perform keyword searches of the site. The Search Results module MUST be added and set in order to perform a search.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('72','Paramètres d''hébergement','fr','Le webmestre peut gérer tous les paramètres maître pour le site d''hébergement.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('14','Site settings','en','The Site Settings page enables Administrators to configure the both basic and advanced setting for the site. Settings include design, advertising, user registration settings, etc.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('12','Security Roles','en','This page manages Security Roles for this web site.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('15','User Accounts','en','This User Accounts page manages User Accounts for this portal.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('19','Fournisseurs','fr','Le module sert à gérer les comptes fournisseurs et les oriflammes associés au portail. Ce module vous permet d''ajouter un nouveau, modifier, et supprimer un compte fournisseur.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('65','SQL','en','This page enable Hosts to make SQL queries to the database.')
INSERT INTO [dbo].[ModuleDefinitionsNames] ([ModuleDefID],[FriendlyName],[Language],[Description]) VALUES('88','Language','en','The Languages page displays the languages that are supported on the site.

This page also provides webmaster with access to the Language Editor. As well as enabling webmaster to add new languages, the Language Editor enables the editing of emails sent by the site (e.g. User Registration, Password Reminder, and Notification of Role Assignment) as well as site wide messages (e.g. Privacy Statement, Login Instructions, Terms Of Use).')

IF(	IDENT_INCR( 'dbo.ModuleDefinitionsNames' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleDefinitionsNames') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleDefinitionsNames OFF
GO

-----------------------------------------------------------
--Insert data into dbo.ModuleEvents
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.ModuleEvents' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleEvents') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleEvents ON
IF(	IDENT_INCR( 'dbo.ModuleEvents' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleEvents') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleEvents OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Modules
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Modules' ) IS NOT NULL OR IDENT_SEED('dbo.Modules') IS NOT NULL ) SET IDENTITY_INSERT dbo.Modules ON
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('2','1','5','3','ContentPane','Bienvenue sur DotNetZoom français ...','0;','0',0,'','','','',NULL,0,1,'0',NULL,'fr')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('3','1','7','3','LeftPane','Hyperliens','0;','0',0,'','','','',NULL,0,1,'0',NULL,'fr')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('4','1','5','3','LeftPane','Commanditaires','0;','0',0,'','','','',NULL,0,1,'0',NULL,'fr')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('5','1','90','5','LeftPane','Info Système','0;','0',0,'','','','',NULL,0,1,'0',NULL,'fr')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('6','1','5','3','ContentPane','DotNetZoom','0;','0',0,'','','','',NULL,0,1,'0',NULL,'en')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('7','1','7','3','LeftPane','Quick links','0;','0',0,'','','','',NULL,0,1,'0',NULL,'en')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('8','1','5','5','LeftPane','Support','0;','0',0,'','','','',NULL,0,1,'0',NULL,'en')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('10','1','90','7','LeftPane','Web server info','0;','0',0,'','','','',NULL,0,1,'0',NULL,'en')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('9','1','82','9','LeftPane','Who is On line','0;','0',0,'','','','',NULL,0,1,'0',NULL,'en')
INSERT INTO [dbo].[Modules] ([ModuleID],[TabID],[ModuleDefID],[ModuleOrder],[PaneName],[ModuleTitle],[AuthorizedEditRoles],[CacheTime],[ShowFriendly],[AuthorizedViewRoles],[Alignment],[Color],[Border],[IconFile],[AllTabs],[ShowTitle],[Personalize],[Container],[Language]) VALUES('11','1','82','7','LeftPane','Qui est en ligne','0;','0',0,'','','','',NULL,0,1,'0',NULL,'fr')
IF(	IDENT_INCR( 'dbo.Modules' ) IS NOT NULL OR IDENT_SEED('dbo.Modules') IS NOT NULL ) SET IDENTITY_INSERT dbo.Modules OFF
GO

-----------------------------------------------------------
--Insert data into dbo.ModuleSettings
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.ModuleSettings' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleSettings ON
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','desktopview','R')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','ModuleContainer','<table cellpadding="0" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('4','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('2','desktopview','R')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','ModuleContainer','<table cellpadding="0" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','desktopview','R')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','linkcontrol','L')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','linkview','V')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','displayinfo','Y')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('3','linkClass','link')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('5','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('6','desktopview','R')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','linkcontrol','L')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','linkview','V')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','displayinfo','Y')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('7','linkClass','link')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','containerTitleHeaderClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','containerTitleCSSClass','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('8','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('9','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('10','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','containerBorder','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','containerColor','#c1d0e8')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','containerAlignment','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','TitleContainer','')
INSERT INTO [dbo].[ModuleSettings] ([ModuleID],[SettingName],[SettingValue]) VALUES('11','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
IF(	IDENT_INCR( 'dbo.ModuleSettings' ) IS NOT NULL OR IDENT_SEED('dbo.ModuleSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.ModuleSettings OFF
GO

-----------------------------------------------------------
--Insert data into dbo.PayPalIPN
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.PayPalIPN' ) IS NOT NULL OR IDENT_SEED('dbo.PayPalIPN') IS NOT NULL ) SET IDENTITY_INSERT dbo.PayPalIPN ON
IF(	IDENT_INCR( 'dbo.PayPalIPN' ) IS NOT NULL OR IDENT_SEED('dbo.PayPalIPN') IS NOT NULL ) SET IDENTITY_INSERT dbo.PayPalIPN OFF
GO

-----------------------------------------------------------
--Insert data into dbo.PortalModuleDefinitions
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.PortalModuleDefinitions' ) IS NOT NULL OR IDENT_SEED('dbo.PortalModuleDefinitions') IS NOT NULL ) SET IDENTITY_INSERT dbo.PortalModuleDefinitions ON
IF(	IDENT_INCR( 'dbo.PortalModuleDefinitions' ) IS NOT NULL OR IDENT_SEED('dbo.PortalModuleDefinitions') IS NOT NULL ) SET IDENTITY_INSERT dbo.PortalModuleDefinitions OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Portals
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Portals' ) IS NOT NULL OR IDENT_SEED('dbo.Portals') IS NOT NULL ) SET IDENTITY_INSERT dbo.Portals ON
INSERT INTO [dbo].[Portals] ([PortalID],[PortalAlias],[PortalName],[LogoFile],[FooterText],[ExpiryDate],[UserRegistration],[BannerAdvertising],[AdministratorId],[Currency],[HostFee],[HostSpace],[AdministratorRoleId],[RegisteredRoleId],[Description],[KeyWords],[BackgroundFile],[PaymentProcessor],[ProcessorUserId],[ProcessorPassword],[SiteLogHistory],[TimeZone]) VALUES('0','localhost,.default','DotNetZoom','dotnetzoom.gif','Copyright 2004-2012 DotNetZoom',NULL,'2','0','9','CAD',0,'0','0','11','','','','PayPal','','','60','-300')
IF(	IDENT_INCR( 'dbo.Portals' ) IS NOT NULL OR IDENT_SEED('dbo.Portals') IS NOT NULL ) SET IDENTITY_INSERT dbo.Portals OFF
GO

-----------------------------------------------------------
--Insert data into dbo.PortalSettings
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.PortalSettings' ) IS NOT NULL OR IDENT_SEED('dbo.PortalSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.PortalSettings ON
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','container','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"><tr><td>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','languageauth','en;fr;')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','language','fr')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','uploadroles','0;')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','registeremail','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_loginmessage','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','editcontainer','<div align="center">
<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="750"[COLOR][BORDER]><tr><td align="left">[MODULE]</td></tr></table>
</div>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','logincontainer','[MODULE]')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_instructions','Nouveau text')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_message','Message courriel pour fournisseur')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','editTitleContainer','[MODULE]')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','ToolTipcontainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','ToolTipcontainerAlignment','center')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','ToolTipcontainerColor','#66ccff')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','ToolTipcontainerBorder','1')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','loginTitleContainer','[MODULE]')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','loginModuleContainer','<table cellpadding="0" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td class="login" [ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','logincontainerAlignment','left')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','TitleContainer','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','ModuleContainer','<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','containerAlignment','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','containerColor','#c1d0e8')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','containerBorder','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','admincontainerTitleHeaderClass','headertitle')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','containerTitleHeaderClass','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','containerTitleCSSClass','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','admincontainerTitleCSSClass','Head')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','editcontainerTitleHeaderClass','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','editcontainerTitleCSSClass','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_registrationmessage','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_signupmessage','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_Description','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_KeyWords','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_FooterText','copyright 2004-2012 DotNetZoom')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_PortalName','DotNetZoom')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','flash','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','fr_DemoDirectives','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','SearchUser','YES')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','UserOnline','YES')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','UserMessage','YES')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','PortalUserOnline','YES')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','PMSMailNotice','YES')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','DemoDomain','N')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','DemoSignup','Y')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','DemoAuthRole','-1;0;11;')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_loginmessage','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_registrationmessage','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_signupmessage','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_Description','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_KeyWords','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_FooterText','copyright 2004-2012 DotNetZoom')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_PortalName','DotNetZoom')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','en_DemoDirectives','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','container339','[MODULE]')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','admincontainer','<div align="center">
<table cellpadding="2" cellspacing="0" summary="Module Design Table" width="750"[COLOR][BORDER]><tr><td align="left">[MODULE]</td></tr></table>
</div>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','adminTitleContainer','[MODULE]')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','adminModuleContainer','<table cellpadding="5" cellspacing="0" summary="Module Design Table" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','admincontainerAlignment','left')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','admincontainerColor','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','admincontainerBorder','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','logincontainerTitleHeaderClass','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','logincontainerTitleCSSClass','')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','logincontainerColor','#ffffff')
INSERT INTO [dbo].[PortalSettings] ([PortalID],[SettingName],[SettingValue]) VALUES('0','logincontainerBorder','')
IF(	IDENT_INCR( 'dbo.PortalSettings' ) IS NOT NULL OR IDENT_SEED('dbo.PortalSettings') IS NOT NULL ) SET IDENTITY_INSERT dbo.PortalSettings OFF
GO

-----------------------------------------------------------
--Insert data into dbo.PrivateMessages
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.PrivateMessages' ) IS NOT NULL OR IDENT_SEED('dbo.PrivateMessages') IS NOT NULL ) SET IDENTITY_INSERT dbo.PrivateMessages ON
IF(	IDENT_INCR( 'dbo.PrivateMessages' ) IS NOT NULL OR IDENT_SEED('dbo.PrivateMessages') IS NOT NULL ) SET IDENTITY_INSERT dbo.PrivateMessages OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Referrer
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Referrer' ) IS NOT NULL OR IDENT_SEED('dbo.Referrer') IS NOT NULL ) SET IDENTITY_INSERT dbo.Referrer ON
IF(	IDENT_INCR( 'dbo.Referrer' ) IS NOT NULL OR IDENT_SEED('dbo.Referrer') IS NOT NULL ) SET IDENTITY_INSERT dbo.Referrer OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Roles
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Roles' ) IS NOT NULL OR IDENT_SEED('dbo.Roles') IS NOT NULL ) SET IDENTITY_INSERT dbo.Roles ON
INSERT INTO [dbo].[Roles] ([RoleID],[PortalID],[RoleName],[Description],[ServiceFee],[BillingFrequency],[TrialPeriod],[TrialFrequency],[BillingPeriod],[TrialFee],[IsPublic],[AutoAssignment]) VALUES('0','0','Administrateurs','Administration du portail',0,'M','1','N','1',0,0,0)
INSERT INTO [dbo].[Roles] ([RoleID],[PortalID],[RoleName],[Description],[ServiceFee],[BillingFrequency],[TrialPeriod],[TrialFrequency],[BillingPeriod],[TrialFee],[IsPublic],[AutoAssignment]) VALUES('11','0','Membres adhérents','Membres adhérents',0,'N','1','N','1',0,0,1)
IF(	IDENT_INCR( 'dbo.Roles' ) IS NOT NULL OR IDENT_SEED('dbo.Roles') IS NOT NULL ) SET IDENTITY_INSERT dbo.Roles OFF
GO

-----------------------------------------------------------
--Insert data into dbo.RolesName
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.RolesName' ) IS NOT NULL OR IDENT_SEED('dbo.RolesName') IS NOT NULL ) SET IDENTITY_INSERT dbo.RolesName ON
INSERT INTO [dbo].[RolesName] ([RoleID],[RoleName],[Description],[Language]) VALUES('0','','Nouvelle description','fr')
INSERT INTO [dbo].[RolesName] ([RoleID],[RoleName],[Description],[Language]) VALUES('11','Membres adhérents','Membres adhérents','fr')
IF(	IDENT_INCR( 'dbo.RolesName' ) IS NOT NULL OR IDENT_SEED('dbo.RolesName') IS NOT NULL ) SET IDENTITY_INSERT dbo.RolesName OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Search
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Search' ) IS NOT NULL OR IDENT_SEED('dbo.Search') IS NOT NULL ) SET IDENTITY_INSERT dbo.Search ON
IF(	IDENT_INCR( 'dbo.Search' ) IS NOT NULL OR IDENT_SEED('dbo.Search') IS NOT NULL ) SET IDENTITY_INSERT dbo.Search OFF
GO

-----------------------------------------------------------
--Insert data into dbo.SessionTracker
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.SessionTracker' ) IS NOT NULL OR IDENT_SEED('dbo.SessionTracker') IS NOT NULL ) SET IDENTITY_INSERT dbo.SessionTracker ON
IF(	IDENT_INCR( 'dbo.SessionTracker' ) IS NOT NULL OR IDENT_SEED('dbo.SessionTracker') IS NOT NULL ) SET IDENTITY_INSERT dbo.SessionTracker OFF
GO

-----------------------------------------------------------
--Insert data into dbo.SiteLog
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.SiteLog' ) IS NOT NULL OR IDENT_SEED('dbo.SiteLog') IS NOT NULL ) SET IDENTITY_INSERT dbo.SiteLog ON
IF(	IDENT_INCR( 'dbo.SiteLog' ) IS NOT NULL OR IDENT_SEED('dbo.SiteLog') IS NOT NULL ) SET IDENTITY_INSERT dbo.SiteLog OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Tabs
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Tabs' ) IS NOT NULL OR IDENT_SEED('dbo.Tabs') IS NOT NULL ) SET IDENTITY_INSERT dbo.Tabs ON
INSERT INTO [dbo].[Tabs] ([TabID],[TabOrder],[PortalID],[TabName],[FriendlyTabName],[AuthorizedRoles],[ShowFriendly],[LeftPaneWidth],[RightPaneWidth],[IsVisible],[ParentId],[Level],[IconFile],[AdministratorRoles],[DisableLink],[css],[skin]) VALUES('1','1','0','Accueil','accueil','-1;0;11;',1,'200','200',1,NULL,'0','','0;',0,NULL,NULL)
IF(	IDENT_INCR( 'dbo.Tabs' ) IS NOT NULL OR IDENT_SEED('dbo.Tabs') IS NOT NULL ) SET IDENTITY_INSERT dbo.Tabs OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TabsName
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TabsName' ) IS NOT NULL OR IDENT_SEED('dbo.TabsName') IS NOT NULL ) SET IDENTITY_INSERT dbo.TabsName ON
INSERT INTO [dbo].[TabsName] ([PortalID],[TabID],[TabName],[Language]) VALUES('0','1','Home','en')
IF(	IDENT_INCR( 'dbo.TabsName' ) IS NOT NULL OR IDENT_SEED('dbo.TabsName') IS NOT NULL ) SET IDENTITY_INSERT dbo.TabsName OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TimeZone
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TimeZone' ) IS NOT NULL OR IDENT_SEED('dbo.TimeZone') IS NOT NULL ) SET IDENTITY_INSERT dbo.TimeZone ON
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-720','fr','GMT -12 IDLW: Ligne internationale date ouest')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-660','fr','GMT -11 NT: Nome')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-600','fr','GMT -10 Alaska-Hawaii')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-540','fr','GMT -9 YST: Yukon')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-480','fr','GMT -8 PST: Pacifique')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-420','fr','GMT -7 MST: Montagnes')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-360','fr','GMT -6 CST: Centre')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-300','fr','GMT -5 EST: East Canada et U.S.')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-240','fr','GMT -4 AST: Atlantique')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-210','fr','GMT -3.5 Terre-Neuve')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-180','fr','GMT -3 Brasil, Argentine')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-120','fr','GMT -2 AT: Azores')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-60','fr','GMT -1 WAT: Afrique de l''ouest')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('0','fr','GMT: Greenwich Mean Time')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('60','fr','GMT +1 CET: Europe Centrale')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('120','fr','GMT +2 EET: Europe de l''est')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('180','fr','BT: Baghdad')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('210','fr','GMT +3.5 Iran')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('240','fr','GMT +4 Kabul')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('300','fr','GMT +5')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('330','fr','GMT +5.5 Inde')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('360','fr','GMT +6')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('390','fr','GMT +6.5 Îles Cocos')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('420','fr','GMT +7')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('480','fr','GMT +8 CCT: Chine')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('540','fr','GMT +9 JST: Japon')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('600','fr','GMT +10 GST: Guam')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('660','fr','GMT +11')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('690','fr','GMT +11.5 Îles Norfolk')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('720','fr','GMT +12 NZST: Nouvelle Zealande')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('780','fr','GMT +13 Îles Rawaki')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('840','fr','GMT +14 Îles Gilbert, Ellice, Phoenix et Line')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-720','en','GMT -12 IDLW: Ligne internationale date ouest')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-660','en','GMT -11 NT: Nome')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-600','en','GMT -10 Alaska-Hawaii')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-540','en','GMT -9 YST: Yukon')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-480','en','GMT -8 PST: Pacifique')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-420','en','GMT -7 MST: Montagnes')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-360','en','GMT -6 CST: Centre')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-300','en','GMT -5 EST: East Canada et U.S.')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-240','en','GMT -4 AST: Atlantique')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-210','en','GMT -3.5 Terre-Neuve')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-180','en','GMT -3 Brasil, Argentine')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-120','en','GMT -2 AT: Azores')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('-60','en','GMT -1 WAT: Afrique de l''ouest')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('0','en','GMT: Greenwich Mean Time')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('60','en','GMT +1 CET: Europe Centrale')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('120','en','GMT +2 EET: Europe de l''est')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('180','en','BT: Baghdad')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('210','en','GMT +3.5 Iran')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('240','en','GMT +4 Kabul')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('300','en','GMT +5')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('330','en','GMT +5.5 Inde')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('360','en','GMT +6')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('390','en','GMT +6.5 Îles Cocos')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('420','en','GMT +7')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('480','en','GMT +8 CCT: Chine')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('540','en','GMT +9 JST: Japon')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('600','en','GMT +10 GST: Guam')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('660','en','GMT +11')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('690','en','GMT +11.5 Îles Norfolk')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('720','en','GMT +12 NZST: Nouvelle Zealande')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('780','en','GMT +13 Îles Rawaki')
INSERT INTO [dbo].[TimeZone] ([Zone],[Language],[Description]) VALUES('840','en','GMT +14 Îles Gilbert, Ellice, Phoenix et Line')
IF(	IDENT_INCR( 'dbo.TimeZone' ) IS NOT NULL OR IDENT_SEED('dbo.TimeZone') IS NOT NULL ) SET IDENTITY_INSERT dbo.TimeZone OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_ForumGroups
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_ForumGroups' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_ForumGroups') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_ForumGroups ON
IF(	IDENT_INCR( 'dbo.TTTForum_ForumGroups' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_ForumGroups') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_ForumGroups OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_Forums
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_Forums' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Forums') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Forums ON
IF(	IDENT_INCR( 'dbo.TTTForum_Forums' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Forums') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Forums OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_ModerationAction
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_ModerationAction' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_ModerationAction') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_ModerationAction ON
IF(	IDENT_INCR( 'dbo.TTTForum_ModerationAction' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_ModerationAction') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_ModerationAction OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_ModerationAudit
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_ModerationAudit' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_ModerationAudit') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_ModerationAudit ON
IF(	IDENT_INCR( 'dbo.TTTForum_ModerationAudit' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_ModerationAudit') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_ModerationAudit OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_Moderators
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_Moderators' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Moderators') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Moderators ON
IF(	IDENT_INCR( 'dbo.TTTForum_Moderators' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Moderators') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Moderators OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_Posts
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_Posts' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Posts') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Posts ON
IF(	IDENT_INCR( 'dbo.TTTForum_Posts' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Posts') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Posts OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_PrivateForums
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_PrivateForums' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_PrivateForums') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_PrivateForums ON
IF(	IDENT_INCR( 'dbo.TTTForum_PrivateForums' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_PrivateForums') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_PrivateForums OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_Statistics_Site
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_Statistics_Site' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Statistics_Site') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Statistics_Site ON
IF(	IDENT_INCR( 'dbo.TTTForum_Statistics_Site' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Statistics_Site') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Statistics_Site OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_Threads
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_Threads' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Threads') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Threads ON
IF(	IDENT_INCR( 'dbo.TTTForum_Threads' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Threads') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Threads OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_TrackedForums
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_TrackedForums' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_TrackedForums') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_TrackedForums ON
IF(	IDENT_INCR( 'dbo.TTTForum_TrackedForums' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_TrackedForums') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_TrackedForums OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_TrackedThreads
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_TrackedThreads' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_TrackedThreads') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_TrackedThreads ON
IF(	IDENT_INCR( 'dbo.TTTForum_TrackedThreads' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_TrackedThreads') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_TrackedThreads OFF
GO

-----------------------------------------------------------
--Insert data into dbo.TTTForum_Users
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.TTTForum_Users' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Users') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Users ON
IF(	IDENT_INCR( 'dbo.TTTForum_Users' ) IS NOT NULL OR IDENT_SEED('dbo.TTTForum_Users') IS NOT NULL ) SET IDENTITY_INSERT dbo.TTTForum_Users OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UserDefinedData
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UserDefinedData' ) IS NOT NULL OR IDENT_SEED('dbo.UserDefinedData') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserDefinedData ON
IF(	IDENT_INCR( 'dbo.UserDefinedData' ) IS NOT NULL OR IDENT_SEED('dbo.UserDefinedData') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserDefinedData OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UserDefinedFields
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UserDefinedFields' ) IS NOT NULL OR IDENT_SEED('dbo.UserDefinedFields') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserDefinedFields ON
IF(	IDENT_INCR( 'dbo.UserDefinedFields' ) IS NOT NULL OR IDENT_SEED('dbo.UserDefinedFields') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserDefinedFields OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UserDefinedRows
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UserDefinedRows' ) IS NOT NULL OR IDENT_SEED('dbo.UserDefinedRows') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserDefinedRows ON
IF(	IDENT_INCR( 'dbo.UserDefinedRows' ) IS NOT NULL OR IDENT_SEED('dbo.UserDefinedRows') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserDefinedRows OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UserPortals
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UserPortals' ) IS NOT NULL OR IDENT_SEED('dbo.UserPortals') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserPortals ON
INSERT INTO [dbo].[UserPortals] ([UserId],[PortalId],[Authorized],[CreatedDate],[LastLoginDate]) VALUES('9','0',1,NULL,'20070101')
IF(	IDENT_INCR( 'dbo.UserPortals' ) IS NOT NULL OR IDENT_SEED('dbo.UserPortals') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserPortals OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UserRoles
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UserRoles' ) IS NOT NULL OR IDENT_SEED('dbo.UserRoles') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserRoles ON
INSERT INTO [dbo].[UserRoles] ([UserRoleID],[UserID],[RoleID],[ExpiryDate],[IsTrialUsed]) VALUES('1','9','0',NULL,NULL)
INSERT INTO [dbo].[UserRoles] ([UserRoleID],[UserID],[RoleID],[ExpiryDate],[IsTrialUsed]) VALUES('3','9','11',NULL,NULL)
IF(	IDENT_INCR( 'dbo.UserRoles' ) IS NOT NULL OR IDENT_SEED('dbo.UserRoles') IS NOT NULL ) SET IDENTITY_INSERT dbo.UserRoles OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Users
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Users' ) IS NOT NULL OR IDENT_SEED('dbo.Users') IS NOT NULL ) SET IDENTITY_INSERT dbo.Users ON
INSERT INTO [dbo].[Users] ([UserID],[FirstName],[LastName],[Street],[City],[Region],[PostalCode],[Country],[Password],[Email],[Unit],[IsSuperUser],[Telephone],[Username],[Country_Code],[LastIP],[IPfrom],[IPto],[Security_Code]) VALUES('1','Anonymous','Anonymous',NULL,NULL,NULL,NULL,NULL,'Anonymous','Anonymous',NULL,0,NULL,'Anonymous',NULL,NULL,NULL,NULL,NULL)
INSERT INTO [dbo].[Users] ([UserID],[FirstName],[LastName],[Street],[City],[Region],[PostalCode],[Country],[Password],[Email],[Unit],[IsSuperUser],[Telephone],[Username],[Country_Code],[LastIP],[IPfrom],[IPto],[Security_Code]) VALUES('2','Webmestre','Compte',NULL,NULL,NULL,NULL,NULL,'webmestre','webmestre',NULL,1,NULL,'webmestre',NULL,NULL,NULL,NULL,'')
INSERT INTO [dbo].[Users] ([UserID],[FirstName],[LastName],[Street],[City],[Region],[PostalCode],[Country],[Password],[Email],[Unit],[IsSuperUser],[Telephone],[Username],[Country_Code],[LastIP],[IPfrom],[IPto],[Security_Code]) VALUES('9','Admin','Admin',NULL,NULL,NULL,NULL,NULL,'admin','admin@domain.com',NULL,0,NULL,'admin',NULL,NULL,NULL,NULL,'')
IF(	IDENT_INCR( 'dbo.Users' ) IS NOT NULL OR IDENT_SEED('dbo.Users') IS NOT NULL ) SET IDENTITY_INSERT dbo.Users OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UsersOnline_Buddies
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UsersOnline_Buddies' ) IS NOT NULL OR IDENT_SEED('dbo.UsersOnline_Buddies') IS NOT NULL ) SET IDENTITY_INSERT dbo.UsersOnline_Buddies ON
IF(	IDENT_INCR( 'dbo.UsersOnline_Buddies' ) IS NOT NULL OR IDENT_SEED('dbo.UsersOnline_Buddies') IS NOT NULL ) SET IDENTITY_INSERT dbo.UsersOnline_Buddies OFF
GO

-----------------------------------------------------------
--Insert data into dbo.UsersOnline_PrivateMessages
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.UsersOnline_PrivateMessages' ) IS NOT NULL OR IDENT_SEED('dbo.UsersOnline_PrivateMessages') IS NOT NULL ) SET IDENTITY_INSERT dbo.UsersOnline_PrivateMessages ON
IF(	IDENT_INCR( 'dbo.UsersOnline_PrivateMessages' ) IS NOT NULL OR IDENT_SEED('dbo.UsersOnline_PrivateMessages') IS NOT NULL ) SET IDENTITY_INSERT dbo.UsersOnline_PrivateMessages OFF
GO

-----------------------------------------------------------
--Insert data into dbo.VendorClassification
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.VendorClassification' ) IS NOT NULL OR IDENT_SEED('dbo.VendorClassification') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorClassification ON
IF(	IDENT_INCR( 'dbo.VendorClassification' ) IS NOT NULL OR IDENT_SEED('dbo.VendorClassification') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorClassification OFF
GO

-----------------------------------------------------------
--Insert data into dbo.VendorFeedback
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.VendorFeedback' ) IS NOT NULL OR IDENT_SEED('dbo.VendorFeedback') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorFeedback ON
IF(	IDENT_INCR( 'dbo.VendorFeedback' ) IS NOT NULL OR IDENT_SEED('dbo.VendorFeedback') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorFeedback OFF
GO

-----------------------------------------------------------
--Insert data into dbo.VendorLog
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.VendorLog' ) IS NOT NULL OR IDENT_SEED('dbo.VendorLog') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorLog ON
IF(	IDENT_INCR( 'dbo.VendorLog' ) IS NOT NULL OR IDENT_SEED('dbo.VendorLog') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorLog OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Vendors
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Vendors' ) IS NOT NULL OR IDENT_SEED('dbo.Vendors') IS NOT NULL ) SET IDENTITY_INSERT dbo.Vendors ON
IF(	IDENT_INCR( 'dbo.Vendors' ) IS NOT NULL OR IDENT_SEED('dbo.Vendors') IS NOT NULL ) SET IDENTITY_INSERT dbo.Vendors OFF
GO

-----------------------------------------------------------
--Insert data into dbo.VendorSearch
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.VendorSearch' ) IS NOT NULL OR IDENT_SEED('dbo.VendorSearch') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorSearch ON
IF(	IDENT_INCR( 'dbo.VendorSearch' ) IS NOT NULL OR IDENT_SEED('dbo.VendorSearch') IS NOT NULL ) SET IDENTITY_INSERT dbo.VendorSearch OFF
GO

-----------------------------------------------------------
--Insert data into dbo.Version
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.Version' ) IS NOT NULL OR IDENT_SEED('dbo.Version') IS NOT NULL ) SET IDENTITY_INSERT dbo.Version ON
IF(	IDENT_INCR( 'dbo.Version' ) IS NOT NULL OR IDENT_SEED('dbo.Version') IS NOT NULL ) SET IDENTITY_INSERT dbo.Version OFF
GO

-----------------------------------------------------------
--Insert data into dbo.ViewState
-----------------------------------------------------------
IF(	IDENT_INCR( 'dbo.ViewState' ) IS NOT NULL OR IDENT_SEED('dbo.ViewState') IS NOT NULL ) SET IDENTITY_INSERT dbo.ViewState ON
IF(	IDENT_INCR( 'dbo.ViewState' ) IS NOT NULL OR IDENT_SEED('dbo.ViewState') IS NOT NULL ) SET IDENTITY_INSERT dbo.ViewState OFF
GO


/******************************************************
  Insert data  End
******************************************************/

/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Announcements]
    ADD CONSTRAINT [FK_Announcements_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Banners]
    ADD CONSTRAINT [FK_Banner_Vendor] FOREIGN KEY( [VendorId] )
    REFERENCES [dbo].[Vendors] ( [VendorId] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[Banners]
    ADD CONSTRAINT [FK_Banners_BannerType] FOREIGN KEY( [BannerTypeId] )
    REFERENCES [dbo].[BannerTypes] ( [BannerTypeId] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Classification]
    ADD CONSTRAINT [FK_Classification_Classification] FOREIGN KEY( [ParentId] )
    REFERENCES [dbo].[Classification] ( [ClassificationId] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[CodeCountry]
    ADD CONSTRAINT [FK_CodeCountry_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[CodeCurrency]
    ADD CONSTRAINT [FK_CodeCurrency_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[CodeFrequency]
    ADD CONSTRAINT [FK_CodeFrequency_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[CodeProcessor]
    ADD CONSTRAINT [FK_CodeProcessor_CodeProcessor] FOREIGN KEY( [Processor] )
    REFERENCES [dbo].[CodeProcessor] ( [Processor] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[CodeRegion]
    ADD CONSTRAINT [FK_CodeRegion_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[CodeSiteLogReport]
    ADD CONSTRAINT [FK_CodeSiteLogReport_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Contacts]
    ADD CONSTRAINT [FK_Contacts_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Discussion]
    ADD CONSTRAINT [FK_Discussion_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Documents]
    ADD CONSTRAINT [FK_Documents_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[FAQs]
    ADD CONSTRAINT [FK_FAQs_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[HtmlText]
    ADD CONSTRAINT [FK_HtmlText_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[languageSettings]
    ADD CONSTRAINT [FK_languageSettings_language] FOREIGN KEY( [language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Links]
    ADD CONSTRAINT [FK_Links_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[loginsecurity]
    ADD CONSTRAINT [FK_loginsecurity_Users] FOREIGN KEY( [UserId] )
    REFERENCES [dbo].[Users] ( [UserID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[longlanguageSettings]
    ADD CONSTRAINT [FK_longlanguageSettings_language] FOREIGN KEY( [language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[ModuleDefinitionsNames]
    ADD CONSTRAINT [FK_ModuleDefinitionsNames_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;
ALTER TABLE [dbo].[ModuleDefinitionsNames]
    ADD CONSTRAINT [FK_ModuleDefinitionsNames_ModuleDefinitions] FOREIGN KEY( [ModuleDefID] )
    REFERENCES [dbo].[ModuleDefinitions] ( [ModuleDefID] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[ModuleEvents]
    ADD CONSTRAINT [FK_Events_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Modules]
    ADD CONSTRAINT [FK_Modules_ModuleDefinitions] FOREIGN KEY( [ModuleDefID] )
    REFERENCES [dbo].[ModuleDefinitions] ( [ModuleDefID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[Modules]
    ADD CONSTRAINT [FK_Modules_Tabs] FOREIGN KEY( [TabID] )
    REFERENCES [dbo].[Tabs] ( [TabID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[ModuleSettings]
    ADD CONSTRAINT [FK_ModuleSettings_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[PayPalIPN]
    ADD CONSTRAINT [FK_PayPalIPN_PortalID] FOREIGN KEY( [PortalID] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[PortalModuleDefinitions]
    ADD CONSTRAINT [FK_PortalModuleDefinitions_ModuleDefinitions] FOREIGN KEY( [ModuleDefId] )
    REFERENCES [dbo].[ModuleDefinitions] ( [ModuleDefID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[PortalModuleDefinitions]
    ADD CONSTRAINT [FK_PortalModuleDefinitions_Portals] FOREIGN KEY( [PortalId] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[PortalSettings]
    ADD CONSTRAINT [FK_PortalSettings_Portals] FOREIGN KEY( [PortalID] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Roles]
    ADD CONSTRAINT [FK_Roles_Portals] FOREIGN KEY( [PortalID] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[RolesName]
    ADD CONSTRAINT [FK_RolesName_Language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[RolesName]
    ADD CONSTRAINT [FK_RolesName_Roles] FOREIGN KEY( [RoleID] )
    REFERENCES [dbo].[Roles] ( [RoleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[SiteLog]
    ADD CONSTRAINT [FK_SiteLog_Portals] FOREIGN KEY( [PortalId] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Tabs]
    ADD CONSTRAINT [FK_Tabs_Portals] FOREIGN KEY( [PortalID] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[Tabs]
    ADD CONSTRAINT [FK_Tabs_Tabs] FOREIGN KEY( [ParentId] )
    REFERENCES [dbo].[Tabs] ( [TabID] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TabsName]
    ADD CONSTRAINT [FK_TabsName_TabID] FOREIGN KEY( [TabID] )
    REFERENCES [dbo].[Tabs] ( [TabID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TimeZone]
    ADD CONSTRAINT [FK_TimeZone_language] FOREIGN KEY( [Language] )
    REFERENCES [dbo].[language] ( [Language] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_ForumGroups]
    ADD CONSTRAINT [FK_TTTForum_ForumGroups_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_Forums]
    ADD CONSTRAINT [FK_TTTForum_Forums_TTTForum_ForumGroups] FOREIGN KEY( [ForumGroupID] )
    REFERENCES [dbo].[TTTForum_ForumGroups] ( [ForumGroupId] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[TTTForum_Forums]
    ADD CONSTRAINT [FK_TTTForum_Forums_TTTForum_Forums] FOREIGN KEY( [ForumID] )
    REFERENCES [dbo].[TTTForum_Forums] ( [ForumID] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_ModerationAudit]
    ADD CONSTRAINT [FK_TTTForum_ModerationAudit_TTTForum_Posts] FOREIGN KEY( [PostId] )
    REFERENCES [dbo].[TTTForum_Posts] ( [PostID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_Moderators]
    ADD CONSTRAINT [FK_TTTForum_Moderators_TTTForum_Forums] FOREIGN KEY( [ForumID] )
    REFERENCES [dbo].[TTTForum_Forums] ( [ForumID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_Posts]
    ADD CONSTRAINT [FK_TTTForum_Posts_TTTForum_Threads] FOREIGN KEY( [ThreadID] )
    REFERENCES [dbo].[TTTForum_Threads] ( [ThreadID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_PrivateForums]
    ADD CONSTRAINT [FK_TTTForum_PrivateForums_TTTForum_Forums] FOREIGN KEY( [ForumID] )
    REFERENCES [dbo].[TTTForum_Forums] ( [ForumID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_Statistics_Site]
    ADD CONSTRAINT [FK_TTTForum_Statistics_Site_Modules] FOREIGN KEY( [ModuleID] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_Threads]
    ADD CONSTRAINT [FK_TTTForum_Threads_TTTForum_Forums] FOREIGN KEY( [ForumID] )
    REFERENCES [dbo].[TTTForum_Forums] ( [ForumID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_TrackedForums]
    ADD CONSTRAINT [FK_TTTForum_TrackedForums_TTTForum_Forums] FOREIGN KEY( [ForumID] )
    REFERENCES [dbo].[TTTForum_Forums] ( [ForumID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[TTTForum_TrackedThreads]
    ADD CONSTRAINT [FK_TTTForum_TrackedThreads_TTTForum_Threads] FOREIGN KEY( [ThreadID] )
    REFERENCES [dbo].[TTTForum_Threads] ( [ThreadID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[UserDefinedData]
    ADD CONSTRAINT [FK_UserDefinedData_UserDefinedFields] FOREIGN KEY( [UserDefinedFieldId] )
    REFERENCES [dbo].[UserDefinedFields] ( [UserDefinedFieldId] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;
ALTER TABLE [dbo].[UserDefinedData]
    ADD CONSTRAINT [FK_UserDefinedData_UserDefinedRows] FOREIGN KEY( [UserDefinedRowId] )
    REFERENCES [dbo].[UserDefinedRows] ( [UserDefinedRowId] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[UserDefinedFields]
    ADD CONSTRAINT [FK_UserDefinedFields_Modules] FOREIGN KEY( [ModuleId] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[UserDefinedRows]
    ADD CONSTRAINT [FK_UserDefinedRows_Modules] FOREIGN KEY( [ModuleId] )
    REFERENCES [dbo].[Modules] ( [ModuleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[UserPortals]
    ADD CONSTRAINT [FK_UserPortals_Portals] FOREIGN KEY( [PortalId] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[UserPortals]
    ADD CONSTRAINT [FK_UserPortals_Users] FOREIGN KEY( [UserId] )
    REFERENCES [dbo].[Users] ( [UserID] )
    ON UPDATE NO ACTION
    ON DELETE NO ACTION;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[UserRoles]
    ADD CONSTRAINT [FK_UserRoles_Roles] FOREIGN KEY( [RoleID] )
    REFERENCES [dbo].[Roles] ( [RoleID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[UserRoles]
    ADD CONSTRAINT [FK_UserRoles_Users] FOREIGN KEY( [UserID] )
    REFERENCES [dbo].[Users] ( [UserID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[VendorClassification]
    ADD CONSTRAINT [FK_VendorClassification_Classification] FOREIGN KEY( [ClassificationId] )
    REFERENCES [dbo].[Classification] ( [ClassificationId] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
ALTER TABLE [dbo].[VendorClassification]
    ADD CONSTRAINT [FK_VendorClassification_Vendors] FOREIGN KEY( [VendorId] )
    REFERENCES [dbo].[Vendors] ( [VendorId] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[VendorFeedback]
    ADD CONSTRAINT [FK_VendorFeedback_Vendors] FOREIGN KEY( [VendorId] )
    REFERENCES [dbo].[Vendors] ( [VendorId] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[VendorLog]
    ADD CONSTRAINT [FK_VendorLog_Portals] FOREIGN KEY( [PortalId] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[Vendors]
    ADD CONSTRAINT [FK_Vendor_Portals] FOREIGN KEY( [PortalId] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO
/*-------- Foreign Keys-----------------*/
ALTER TABLE [dbo].[VendorSearch]
    ADD CONSTRAINT [FK_VendorSearch_Portals] FOREIGN KEY( [PortalId] )
    REFERENCES [dbo].[Portals] ( [PortalID] )
    ON UPDATE NO ACTION
    ON DELETE CASCADE;

GO

/******************************************************
  Tables  End
******************************************************/

/******************************************************
  Stored procedures  Begin
******************************************************/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetMeteoCode]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetMeteoCode]
GO
CREATE PROCEDURE [dbo].[GetMeteoCode] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_UpdateMessageUnread]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_UpdateMessageUnread]
GO
CREATE PROCEDURE [dbo].[UsersOnline_UpdateMessageUnread] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_UpdateMessageRead]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_UpdateMessageRead]
GO
CREATE PROCEDURE [dbo].[UsersOnline_UpdateMessageRead] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetUsersOnlineOnly]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetUsersOnlineOnly]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetUsersOnlineOnly] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetUsersByUsername]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetUsersByUsername]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetUsersByUsername] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetUsersBuddiesOnly]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetUsersBuddiesOnly]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetUsersBuddiesOnly] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetUsers]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetUsers]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetUsers] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetUserCounts]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetUserCounts]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetUserCounts] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetSingleUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetSingleUser]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetSingleUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetSinglePrivateMessage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetSinglePrivateMessage]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetSinglePrivateMessage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetSession]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetSession]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetSession] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetPrivateMessagesOutbox]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetPrivateMessagesOutbox]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetPrivateMessagesOutbox] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetPrivateMessagesInbox]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetPrivateMessagesInbox]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetPrivateMessagesInbox] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetOnlineUsers]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetOnlineUsers]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetOnlineUsers] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetMessageCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetMessageCount]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetMessageCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_GetBuddiesList]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_GetBuddiesList]
GO
CREATE PROCEDURE [dbo].[UsersOnline_GetBuddiesList] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_DeletePrivateMessages]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_DeletePrivateMessages]
GO
CREATE PROCEDURE [dbo].[UsersOnline_DeletePrivateMessages] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_DeleteBuddy]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_DeleteBuddy]
GO
CREATE PROCEDURE [dbo].[UsersOnline_DeleteBuddy] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_AddPrivateMessage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_AddPrivateMessage]
GO
CREATE PROCEDURE [dbo].[UsersOnline_AddPrivateMessage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UsersOnline_AddBuddy]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UsersOnline_AddBuddy]
GO
CREATE PROCEDURE [dbo].[UsersOnline_AddBuddy] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UserLogin]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UserLogin]
GO
CREATE PROCEDURE [dbo].[UserLogin] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateVersion]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateVersion]
GO
CREATE PROCEDURE [dbo].[UpdateVersion] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateVendorFeedback]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateVendorFeedback]
GO
CREATE PROCEDURE [dbo].[UpdateVendorFeedback] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateVendor]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateVendor]
GO
CREATE PROCEDURE [dbo].[UpdateVendor] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUserLogin]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUserLogin]
GO
CREATE PROCEDURE [dbo].[UpdateUserLogin] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUserIP]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUserIP]
GO
CREATE PROCEDURE [dbo].[UpdateUserIP] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUserDefinedRow]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUserDefinedRow]
GO
CREATE PROCEDURE [dbo].[UpdateUserDefinedRow] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUserDefinedFieldOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUserDefinedFieldOrder]
GO
CREATE PROCEDURE [dbo].[UpdateUserDefinedFieldOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUserDefinedField]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUserDefinedField]
GO
CREATE PROCEDURE [dbo].[UpdateUserDefinedField] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUserDefinedData]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUserDefinedData]
GO
CREATE PROCEDURE [dbo].[UpdateUserDefinedData] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUsercodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUsercodes]
GO
CREATE PROCEDURE [dbo].[UpdateUsercodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateUser]
GO
CREATE PROCEDURE [dbo].[UpdateUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateTimeZoneCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateTimeZoneCodes]
GO
CREATE PROCEDURE [dbo].[UpdateTimeZoneCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateTabOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateTabOrder]
GO
CREATE PROCEDURE [dbo].[UpdateTabOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateTabName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateTabName]
GO
CREATE PROCEDURE [dbo].[UpdateTabName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateTabModuleOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateTabModuleOrder]
GO
CREATE PROCEDURE [dbo].[UpdateTabModuleOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateTab]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateTab]
GO
CREATE PROCEDURE [dbo].[UpdateTab] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateSiteLogReports]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateSiteLogReports]
GO
CREATE PROCEDURE [dbo].[UpdateSiteLogReports] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateSession]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateSession]
GO
CREATE PROCEDURE [dbo].[UpdateSession] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateService]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateService]
GO
CREATE PROCEDURE [dbo].[UpdateService] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateSearch]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateSearch]
GO
CREATE PROCEDURE [dbo].[UpdateSearch] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateRole]
GO
CREATE PROCEDURE [dbo].[UpdateRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateRegionCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateRegionCodes]
GO
CREATE PROCEDURE [dbo].[UpdateRegionCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateReferrer]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateReferrer]
GO
CREATE PROCEDURE [dbo].[UpdateReferrer] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatePortalTabOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatePortalTabOrder]
GO
CREATE PROCEDURE [dbo].[UpdatePortalTabOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatePortalSetting]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatePortalSetting]
GO
CREATE PROCEDURE [dbo].[UpdatePortalSetting] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatePortalModules]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatePortalModules]
GO
CREATE PROCEDURE [dbo].[UpdatePortalModules] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatePortalModuleDefinition]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatePortalModuleDefinition]
GO
CREATE PROCEDURE [dbo].[UpdatePortalModuleDefinition] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatePortalInfo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatePortalInfo]
GO
CREATE PROCEDURE [dbo].[UpdatePortalInfo] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatePortalExpiry]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatePortalExpiry]
GO
CREATE PROCEDURE [dbo].[UpdatePortalExpiry] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateModuleSetting]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateModuleSetting]
GO
CREATE PROCEDURE [dbo].[UpdateModuleSetting] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateModuleOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateModuleOrder]
GO
CREATE PROCEDURE [dbo].[UpdateModuleOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateModuleEvent]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateModuleEvent]
GO
CREATE PROCEDURE [dbo].[UpdateModuleEvent] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateModuleDefinition]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateModuleDefinition]
GO
CREATE PROCEDURE [dbo].[UpdateModuleDefinition] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateModule]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateModule]
GO
CREATE PROCEDURE [dbo].[UpdateModule] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateMessage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateMessage]
GO
CREATE PROCEDURE [dbo].[UpdateMessage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatelonglanguageSetting]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatelonglanguageSetting]
GO
CREATE PROCEDURE [dbo].[UpdatelonglanguageSetting] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateLink]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateLink]
GO
CREATE PROCEDURE [dbo].[UpdateLink] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatelanguageSetting]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatelanguageSetting]
GO
CREATE PROCEDURE [dbo].[UpdatelanguageSetting] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdatelanguageContext]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdatelanguageContext]
GO
CREATE PROCEDURE [dbo].[UpdatelanguageContext] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateHtmlText]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateHtmlText]
GO
CREATE PROCEDURE [dbo].[UpdateHtmlText] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateHostSetting]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateHostSetting]
GO
CREATE PROCEDURE [dbo].[UpdateHostSetting] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateFAQ]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateFAQ]
GO
CREATE PROCEDURE [dbo].[UpdateFAQ] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateDocument]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateDocument]
GO
CREATE PROCEDURE [dbo].[UpdateDocument] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateCurrencies]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateCurrencies]
GO
CREATE PROCEDURE [dbo].[UpdateCurrencies] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateCountryCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateCountryCodes]
GO
CREATE PROCEDURE [dbo].[UpdateCountryCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateContact]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateContact]
GO
CREATE PROCEDURE [dbo].[UpdateContact] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateClicks]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateClicks]
GO
CREATE PROCEDURE [dbo].[UpdateClicks] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateCheckUserSecurity]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateCheckUserSecurity]
GO
CREATE PROCEDURE [dbo].[UpdateCheckUserSecurity] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateBillingFrequencyCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateBillingFrequencyCodes]
GO
CREATE PROCEDURE [dbo].[UpdateBillingFrequencyCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateBanner]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateBanner]
GO
CREATE PROCEDURE [dbo].[UpdateBanner] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateArticlesPlusModules]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateArticlesPlusModules]
GO
CREATE PROCEDURE [dbo].[UpdateArticlesPlusModules] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateArticlesPlus]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateArticlesPlus]
GO
CREATE PROCEDURE [dbo].[UpdateArticlesPlus] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateAnnouncement]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateAnnouncement]
GO
CREATE PROCEDURE [dbo].[UpdateAnnouncement] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UpdateAdminModuleDefinitions]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[UpdateAdminModuleDefinitions]
GO
CREATE PROCEDURE [dbo].[UpdateAdminModuleDefinitions] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTGallery_GetIntegratedForum]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTGallery_GetIntegratedForum]
GO
CREATE PROCEDURE [dbo].[TTTGallery_GetIntegratedForum] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UserOnline2_GetCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UserOnline2_GetCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_UserOnline2_GetCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UserOnline2_Get]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UserOnline2_Get]
GO
CREATE PROCEDURE [dbo].[TTTForum_UserOnline2_Get] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UserOnline_GetCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UserOnline_GetCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_UserOnline_GetCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UserOnline_Get]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UserOnline_Get]
GO
CREATE PROCEDURE [dbo].[TTTForum_UserOnline_Get] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UserCreateUpdateDelete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UserCreateUpdateDelete]
GO
CREATE PROCEDURE [dbo].[TTTForum_UserCreateUpdateDelete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateUserViewType]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateUserViewType]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateUserViewType] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateUserThreadView]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateUserThreadView]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateUserThreadView] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateUserForumsView]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateUserForumsView]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateUserForumsView] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateThread]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateThread]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateThread] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdatePost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdatePost]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdatePost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateForumThreadInfo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateForumThreadInfo]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateForumThreadInfo] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateForumSortOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateForumSortOrder]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateForumSortOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateForumPostInfo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateForumPostInfo]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateForumPostInfo] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateForumGroupSortOrder]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateForumGroupSortOrder]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateForumGroupSortOrder] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateForumCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateForumCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateForumCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_UpdateForum]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_UpdateForum]
GO
CREATE PROCEDURE [dbo].[TTTForum_UpdateForum] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackingThreadExists]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_TrackingThreadExists]
GO
CREATE PROCEDURE [dbo].[TTTForum_TrackingThreadExists] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackingThreadEmails]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_TrackingThreadEmails]
GO
CREATE PROCEDURE [dbo].[TTTForum_TrackingThreadEmails] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackingThreadCreateDelete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_TrackingThreadCreateDelete]
GO
CREATE PROCEDURE [dbo].[TTTForum_TrackingThreadCreateDelete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackingForumGet]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_TrackingForumGet]
GO
CREATE PROCEDURE [dbo].[TTTForum_TrackingForumGet] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_TrackingForumCreateDelete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_TrackingForumCreateDelete]
GO
CREATE PROCEDURE [dbo].[TTTForum_TrackingForumCreateDelete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Statistics_UpdateSite]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Statistics_UpdateSite]
GO
CREATE PROCEDURE [dbo].[TTTForum_Statistics_UpdateSite] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Statistics_Get]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Statistics_Get]
GO
CREATE PROCEDURE [dbo].[TTTForum_Statistics_Get] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_SearchGetResults]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_SearchGetResults]
GO
CREATE PROCEDURE [dbo].[TTTForum_SearchGetResults] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_UpdateUnRead]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_UpdateUnRead]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_UpdateUnRead] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_UpdateRead]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_UpdateRead]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_UpdateRead] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_GetSingle]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_GetSingle]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_GetSingle] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_GetOutbox]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_GetOutbox]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_GetOutbox] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_GetInbox]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_GetInbox]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_GetInbox] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_GetCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_GetCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_GetCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_Delete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_Delete]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_Delete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateMessage_Add]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateMessage_Add]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateMessage_Add] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateForum_GetRoles]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateForum_GetRoles]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateForum_GetRoles] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_PrivateForum_CreateDeleteRoles]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_PrivateForum_CreateDeleteRoles]
GO
CREATE PROCEDURE [dbo].[TTTForum_PrivateForum_CreateDeleteRoles] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_UserCreateUpdateDelete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_UserCreateUpdateDelete]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_UserCreateUpdateDelete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_RejectPost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_RejectPost]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_RejectPost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_ModeratorPostCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_ModeratorPostCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_ModeratorPostCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_GetPosts]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_GetPosts]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_GetPosts] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_GetForumsByUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_GetForumsByUser]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_GetForumsByUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_GetForums]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_GetForums]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_GetForums] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_GetForumModerators]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_GetForumModerators]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_GetForumModerators] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_GetForumModerator]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_GetForumModerator]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_GetForumModerator] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_ForumPostCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_ForumPostCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_ForumPostCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_DeletePost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_DeletePost]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_DeletePost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_ApproveThread]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_ApproveThread]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_ApproveThread] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_Moderate_ApprovePost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_Moderate_ApprovePost]
GO
CREATE PROCEDURE [dbo].[TTTForum_Moderate_ApprovePost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_IncrementUserPostCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_IncrementUserPostCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_IncrementUserPostCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_IncrementThreadViews]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_IncrementThreadViews]
GO
CREATE PROCEDURE [dbo].[TTTForum_IncrementThreadViews] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetUsers]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetUsers]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetUsers] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetUserLastView]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetUserLastView]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetUserLastView] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetUserIDFromEmail]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetUserIDFromEmail]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetUserIDFromEmail] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetUserFromAlias]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetUserFromAlias]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetUserFromAlias] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetUser]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetThreads]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetThreads]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetThreads] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetThreadFromPost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetThreadFromPost]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetThreadFromPost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetThreadCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetThreadCount]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetThreadCount] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetSortOrderFromPost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetSortOrderFromPost]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetSortOrderFromPost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetSingleThread]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetSingleThread]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetSingleThread] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetSinglePost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetSinglePost]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetSinglePost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetSingleGroup]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetSingleGroup]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetSingleGroup] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetSingleForum]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetSingleForum]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetSingleForum] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetRepliesFromThread]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetRepliesFromThread]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetRepliesFromThread] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetPosts]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetPosts]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetPosts] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetPostFromThreadAndPage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetPostFromThreadAndPage]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetPostFromThreadAndPage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetModuleIDByTitle]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetModuleIDByTitle]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetModuleIDByTitle] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetGroups]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetGroups]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetGroups] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetForums]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetForums]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetForums] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetForumInfo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetForumInfo]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetForumInfo] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetForumFromModuleID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetForumFromModuleID]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetForumFromModuleID] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetAvatarsModule]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetAvatarsModule]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetAvatarsModule] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_GetActiveUsers]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_GetActiveUsers]
GO
CREATE PROCEDURE [dbo].[TTTForum_GetActiveUsers] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_ForumGroupCreateUpdateDelete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_ForumGroupCreateUpdateDelete]
GO
CREATE PROCEDURE [dbo].[TTTForum_ForumGroupCreateUpdateDelete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_ForumCreateUpdateDelete]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_ForumCreateUpdateDelete]
GO
CREATE PROCEDURE [dbo].[TTTForum_ForumCreateUpdateDelete] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_DeletePostModerated]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_DeletePostModerated]
GO
CREATE PROCEDURE [dbo].[TTTForum_DeletePostModerated] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_DeletePost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_DeletePost]
GO
CREATE PROCEDURE [dbo].[TTTForum_DeletePost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_AddThread]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_AddThread]
GO
CREATE PROCEDURE [dbo].[TTTForum_AddThread] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TTTForum_AddPost]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TTTForum_AddPost]
GO
CREATE PROCEDURE [dbo].[TTTForum_AddPost] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[SqlViewStateProvider_SaveViewState]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[SqlViewStateProvider_SaveViewState]
GO
CREATE PROCEDURE [dbo].[SqlViewStateProvider_SaveViewState] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[SqlViewStateProvider_GetViewState]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[SqlViewStateProvider_GetViewState]
GO
CREATE PROCEDURE [dbo].[SqlViewStateProvider_GetViewState] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[SqlViewStateProvider_DeleteViewState]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[SqlViewStateProvider_DeleteViewState]
GO
CREATE PROCEDURE [dbo].[SqlViewStateProvider_DeleteViewState] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetVendors]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetVendors]
GO
CREATE PROCEDURE [dbo].[GetVendors] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetVendorLog]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetVendorLog]
GO
CREATE PROCEDURE [dbo].[GetVendorLog] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetVendorFeedback]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetVendorFeedback]
GO
CREATE PROCEDURE [dbo].[GetVendorFeedback] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetVendorClickThrough]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetVendorClickThrough]
GO
CREATE PROCEDURE [dbo].[GetVendorClickThrough] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetVendorClassifications]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetVendorClassifications]
GO
CREATE PROCEDURE [dbo].[GetVendorClassifications] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetUsers]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetUsers]
GO
CREATE PROCEDURE [dbo].[GetUsers] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetUserDefinedRows]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetUserDefinedRows]
GO
CREATE PROCEDURE [dbo].[GetUserDefinedRows] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetUserDefinedFields]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetUserDefinedFields]
GO
CREATE PROCEDURE [dbo].[GetUserDefinedFields] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetUserCountryCode]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetUserCountryCode]
GO
CREATE PROCEDURE [dbo].[GetUserCountryCode] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTopLevelMessages]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTopLevelMessages]
GO
CREATE PROCEDURE [dbo].[GetTopLevelMessages] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTimeZoneCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTimeZoneCodes]
GO
CREATE PROCEDURE [dbo].[GetTimeZoneCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTimeDiff]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTimeDiff]
GO
CREATE PROCEDURE [dbo].[GetTimeDiff] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetThreadMessages]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetThreadMessages]
GO
CREATE PROCEDURE [dbo].[GetThreadMessages] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTabsName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTabsName]
GO
CREATE PROCEDURE [dbo].[GetTabsName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTabsByParentId]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTabsByParentId]
GO
CREATE PROCEDURE [dbo].[GetTabsByParentId] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTabs]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTabs]
GO
CREATE PROCEDURE [dbo].[GetTabs] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTabByName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTabByName]
GO
CREATE PROCEDURE [dbo].[GetTabByName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTabById]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTabById]
GO
CREATE PROCEDURE [dbo].[GetTabById] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetTabByFriendLyName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetTabByFriendLyName]
GO
CREATE PROCEDURE [dbo].[GetTabByFriendLyName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSiteSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSiteSettings]
GO
CREATE PROCEDURE [dbo].[GetSiteSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSiteModule]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSiteModule]
GO
CREATE PROCEDURE [dbo].[GetSiteModule] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSiteLogReports]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSiteLogReports]
GO
CREATE PROCEDURE [dbo].[GetSiteLogReports] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSiteLog]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSiteLog]
GO
CREATE PROCEDURE [dbo].[GetSiteLog] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleVendorFeedback]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleVendorFeedback]
GO
CREATE PROCEDURE [dbo].[GetSingleVendorFeedback] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleVendor]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleVendor]
GO
CREATE PROCEDURE [dbo].[GetSingleVendor] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleUserRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleUserRole]
GO
CREATE PROCEDURE [dbo].[GetSingleUserRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleUserDefinedRow]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleUserDefinedRow]
GO
CREATE PROCEDURE [dbo].[GetSingleUserDefinedRow] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleUserDefinedField]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleUserDefinedField]
GO
CREATE PROCEDURE [dbo].[GetSingleUserDefinedField] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleUserByUsername]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleUserByUsername]
GO
CREATE PROCEDURE [dbo].[GetSingleUserByUsername] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleUser]
GO
CREATE PROCEDURE [dbo].[GetSingleUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleSearch]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleSearch]
GO
CREATE PROCEDURE [dbo].[GetSingleSearch] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleRole]
GO
CREATE PROCEDURE [dbo].[GetSingleRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleRegion]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleRegion]
GO
CREATE PROCEDURE [dbo].[GetSingleRegion] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSinglePortal]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSinglePortal]
GO
CREATE PROCEDURE [dbo].[GetSinglePortal] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleModuleEvent]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleModuleEvent]
GO
CREATE PROCEDURE [dbo].[GetSingleModuleEvent] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleModuleDefinitionByName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleModuleDefinitionByName]
GO
CREATE PROCEDURE [dbo].[GetSingleModuleDefinitionByName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleModuleDefinition]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleModuleDefinition]
GO
CREATE PROCEDURE [dbo].[GetSingleModuleDefinition] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleMessage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleMessage]
GO
CREATE PROCEDURE [dbo].[GetSingleMessage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSinglelonglanguageSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSinglelonglanguageSettings]
GO
CREATE PROCEDURE [dbo].[GetSinglelonglanguageSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleLink]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleLink]
GO
CREATE PROCEDURE [dbo].[GetSingleLink] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleFile]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleFile]
GO
CREATE PROCEDURE [dbo].[GetSingleFile] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleFAQ]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleFAQ]
GO
CREATE PROCEDURE [dbo].[GetSingleFAQ] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleDocument]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleDocument]
GO
CREATE PROCEDURE [dbo].[GetSingleDocument] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleCountry]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleCountry]
GO
CREATE PROCEDURE [dbo].[GetSingleCountry] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleContact]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleContact]
GO
CREATE PROCEDURE [dbo].[GetSingleContact] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleBanner]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleBanner]
GO
CREATE PROCEDURE [dbo].[GetSingleBanner] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleArticlesPlus]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleArticlesPlus]
GO
CREATE PROCEDURE [dbo].[GetSingleArticlesPlus] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSingleAnnouncement]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSingleAnnouncement]
GO
CREATE PROCEDURE [dbo].[GetSingleAnnouncement] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSessions]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSessions]
GO
CREATE PROCEDURE [dbo].[GetSessions] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetServices]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetServices]
GO
CREATE PROCEDURE [dbo].[GetServices] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetSearch]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetSearch]
GO
CREATE PROCEDURE [dbo].[GetSearch] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetRolesByUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetRolesByUser]
GO
CREATE PROCEDURE [dbo].[GetRolesByUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetRoleMembership]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetRoleMembership]
GO
CREATE PROCEDURE [dbo].[GetRoleMembership] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetRegionCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetRegionCodes]
GO
CREATE PROCEDURE [dbo].[GetRegionCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetProcessorCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetProcessorCodes]
GO
CREATE PROCEDURE [dbo].[GetProcessorCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalTabs]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalTabs]
GO
CREATE PROCEDURE [dbo].[GetPortalTabs] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalSpaceUsed]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalSpaceUsed]
GO
CREATE PROCEDURE [dbo].[GetPortalSpaceUsed] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalSettings]
GO
CREATE PROCEDURE [dbo].[GetPortalSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortals]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortals]
GO
CREATE PROCEDURE [dbo].[GetPortals] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalRoles]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalRoles]
GO
CREATE PROCEDURE [dbo].[GetPortalRoles] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalModuleDefinitions]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalModuleDefinitions]
GO
CREATE PROCEDURE [dbo].[GetPortalModuleDefinitions] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalModuleDefinitionFee]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalModuleDefinitionFee]
GO
CREATE PROCEDURE [dbo].[GetPortalModuleDefinitionFee] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalByTab]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalByTab]
GO
CREATE PROCEDURE [dbo].[GetPortalByTab] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetPortalByAlias]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetPortalByAlias]
GO
CREATE PROCEDURE [dbo].[GetPortalByAlias] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetNewlanguage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetNewlanguage]
GO
CREATE PROCEDURE [dbo].[GetNewlanguage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetModuleSignup]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetModuleSignup]
GO
CREATE PROCEDURE [dbo].[GetModuleSignup] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetModuleSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetModuleSettings]
GO
CREATE PROCEDURE [dbo].[GetModuleSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetModuleEvents]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetModuleEvents]
GO
CREATE PROCEDURE [dbo].[GetModuleEvents] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetModuleDefinitions]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetModuleDefinitions]
GO
CREATE PROCEDURE [dbo].[GetModuleDefinitions] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetModule]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetModule]
GO
CREATE PROCEDURE [dbo].[GetModule] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetlonglanguageSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetlonglanguageSettings]
GO
CREATE PROCEDURE [dbo].[GetlonglanguageSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetLinks]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetLinks]
GO
CREATE PROCEDURE [dbo].[GetLinks] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetlanguageSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetlanguageSettings]
GO
CREATE PROCEDURE [dbo].[GetlanguageSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetlanguageContext]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetlanguageContext]
GO
CREATE PROCEDURE [dbo].[GetlanguageContext] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetIPNByUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetIPNByUser]
GO
CREATE PROCEDURE [dbo].[GetIPNByUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetIPNByRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetIPNByRole]
GO
CREATE PROCEDURE [dbo].[GetIPNByRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetIPNByPortal]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetIPNByPortal]
GO
CREATE PROCEDURE [dbo].[GetIPNByPortal] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetHtmlText]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetHtmlText]
GO
CREATE PROCEDURE [dbo].[GetHtmlText] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetHostSettings]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetHostSettings]
GO
CREATE PROCEDURE [dbo].[GetHostSettings] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetHostSetting]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetHostSetting]
GO
CREATE PROCEDURE [dbo].[GetHostSetting] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetFiles]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetFiles]
GO
CREATE PROCEDURE [dbo].[GetFiles] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetFAQs]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetFAQs]
GO
CREATE PROCEDURE [dbo].[GetFAQs] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetDocuments]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetDocuments]
GO
CREATE PROCEDURE [dbo].[GetDocuments] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetdirectorySpaceUsed]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetdirectorySpaceUsed]
GO
CREATE PROCEDURE [dbo].[GetdirectorySpaceUsed] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetCurrencies]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetCurrencies]
GO
CREATE PROCEDURE [dbo].[GetCurrencies] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetCountryCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetCountryCodes]
GO
CREATE PROCEDURE [dbo].[GetCountryCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetContacts]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetContacts]
GO
CREATE PROCEDURE [dbo].[GetContacts] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetClicks]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetClicks]
GO
CREATE PROCEDURE [dbo].[GetClicks] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetBillingFrequencyCodes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetBillingFrequencyCodes]
GO
CREATE PROCEDURE [dbo].[GetBillingFrequencyCodes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetBannerTypes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetBannerTypes]
GO
CREATE PROCEDURE [dbo].[GetBannerTypes] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetBanners]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetBanners]
GO
CREATE PROCEDURE [dbo].[GetBanners] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetBannerLog]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetBannerLog]
GO
CREATE PROCEDURE [dbo].[GetBannerLog] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetBannerClickThrough]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetBannerClickThrough]
GO
CREATE PROCEDURE [dbo].[GetBannerClickThrough] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetAvailablelanguage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetAvailablelanguage]
GO
CREATE PROCEDURE [dbo].[GetAvailablelanguage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetAuthRoles]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetAuthRoles]
GO
CREATE PROCEDURE [dbo].[GetAuthRoles] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetAnnouncements]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetAnnouncements]
GO
CREATE PROCEDURE [dbo].[GetAnnouncements] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetAdminModuleDefinitions]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetAdminModuleDefinitions]
GO
CREATE PROCEDURE [dbo].[GetAdminModuleDefinitions] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetAdminModuleDefinition]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[GetAdminModuleDefinition]
GO
CREATE PROCEDURE [dbo].[GetAdminModuleDefinition] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FindVendors]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[FindVendors]
GO
CREATE PROCEDURE [dbo].[FindVendors] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FindBanners]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[FindBanners]
GO
CREATE PROCEDURE [dbo].[FindBanners] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteVendors]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteVendors]
GO
CREATE PROCEDURE [dbo].[DeleteVendors] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteVendorFeedback]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteVendorFeedback]
GO
CREATE PROCEDURE [dbo].[DeleteVendorFeedback] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteVendorClassifications]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteVendorClassifications]
GO
CREATE PROCEDURE [dbo].[DeleteVendorClassifications] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteVendorClassification]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteVendorClassification]
GO
CREATE PROCEDURE [dbo].[DeleteVendorClassification] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteVendor]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteVendor]
GO
CREATE PROCEDURE [dbo].[DeleteVendor] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteUsers]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteUsers]
GO
CREATE PROCEDURE [dbo].[DeleteUsers] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteUserRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteUserRole]
GO
CREATE PROCEDURE [dbo].[DeleteUserRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteUserDefinedRow]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteUserDefinedRow]
GO
CREATE PROCEDURE [dbo].[DeleteUserDefinedRow] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteUserDefinedField]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteUserDefinedField]
GO
CREATE PROCEDURE [dbo].[DeleteUserDefinedField] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteUser]
GO
CREATE PROCEDURE [dbo].[DeleteUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteTabName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteTabName]
GO
CREATE PROCEDURE [dbo].[DeleteTabName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteTab]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteTab]
GO
CREATE PROCEDURE [dbo].[DeleteTab] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteSessions]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteSessions]
GO
CREATE PROCEDURE [dbo].[DeleteSessions] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteSearch]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteSearch]
GO
CREATE PROCEDURE [dbo].[DeleteSearch] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteRole]
GO
CREATE PROCEDURE [dbo].[DeleteRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeletePortalInfo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeletePortalInfo]
GO
CREATE PROCEDURE [dbo].[DeletePortalInfo] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteModuleEvent]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteModuleEvent]
GO
CREATE PROCEDURE [dbo].[DeleteModuleEvent] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteModuleDefinition]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteModuleDefinition]
GO
CREATE PROCEDURE [dbo].[DeleteModuleDefinition] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteModule]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteModule]
GO
CREATE PROCEDURE [dbo].[DeleteModule] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteMessage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteMessage]
GO
CREATE PROCEDURE [dbo].[DeleteMessage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteLink]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteLink]
GO
CREATE PROCEDURE [dbo].[DeleteLink] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteFiles]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteFiles]
GO
CREATE PROCEDURE [dbo].[DeleteFiles] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteFile]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteFile]
GO
CREATE PROCEDURE [dbo].[DeleteFile] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteFAQ]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteFAQ]
GO
CREATE PROCEDURE [dbo].[DeleteFAQ] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteDocument]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteDocument]
GO
CREATE PROCEDURE [dbo].[DeleteDocument] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteContact]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteContact]
GO
CREATE PROCEDURE [dbo].[DeleteContact] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteBanner]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteBanner]
GO
CREATE PROCEDURE [dbo].[DeleteBanner] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteArticlesPlus]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteArticlesPlus]
GO
CREATE PROCEDURE [dbo].[DeleteArticlesPlus] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DeleteAnnouncement]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[DeleteAnnouncement]
GO
CREATE PROCEDURE [dbo].[DeleteAnnouncement] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CopyTab]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[CopyTab]
GO
CREATE PROCEDURE [dbo].[CopyTab] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CheckUserSecurity]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[CheckUserSecurity]
GO
CREATE PROCEDURE [dbo].[CheckUserSecurity] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddVendorClassificationName]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddVendorClassificationName]
GO
CREATE PROCEDURE [dbo].[AddVendorClassificationName] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddVendorClassification]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddVendorClassification]
GO
CREATE PROCEDURE [dbo].[AddVendorClassification] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddVendor]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddVendor]
GO
CREATE PROCEDURE [dbo].[AddVendor] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddUserRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddUserRole]
GO
CREATE PROCEDURE [dbo].[AddUserRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddUserDefinedRow]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddUserDefinedRow]
GO
CREATE PROCEDURE [dbo].[AddUserDefinedRow] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddUserDefinedField]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddUserDefinedField]
GO
CREATE PROCEDURE [dbo].[AddUserDefinedField] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddUser]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddUser]
GO
CREATE PROCEDURE [dbo].[AddUser] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddTab]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddTab]
GO
CREATE PROCEDURE [dbo].[AddTab] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddSiteLog]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddSiteLog]
GO
CREATE PROCEDURE [dbo].[AddSiteLog] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddSearch]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddSearch]
GO
CREATE PROCEDURE [dbo].[AddSearch] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddRole]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddRole]
GO
CREATE PROCEDURE [dbo].[AddRole] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddPortalInfo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddPortalInfo]
GO
CREATE PROCEDURE [dbo].[AddPortalInfo] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddPayPalIPN]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddPayPalIPN]
GO
CREATE PROCEDURE [dbo].[AddPayPalIPN] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddNewLanguage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddNewLanguage]
GO
CREATE PROCEDURE [dbo].[AddNewLanguage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddModuleEvent]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddModuleEvent]
GO
CREATE PROCEDURE [dbo].[AddModuleEvent] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddModuleDefinition]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddModuleDefinition]
GO
CREATE PROCEDURE [dbo].[AddModuleDefinition] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddModule]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddModule]
GO
CREATE PROCEDURE [dbo].[AddModule] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddMessage]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddMessage]
GO
CREATE PROCEDURE [dbo].[AddMessage] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddLink]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddLink]
GO
CREATE PROCEDURE [dbo].[AddLink] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddFile]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddFile]
GO
CREATE PROCEDURE [dbo].[AddFile] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddFAQ]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddFAQ]
GO
CREATE PROCEDURE [dbo].[AddFAQ] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddDocument]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddDocument]
GO
CREATE PROCEDURE [dbo].[AddDocument] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddDirectory]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddDirectory]
GO
CREATE PROCEDURE [dbo].[AddDirectory] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddContact]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddContact]
GO
CREATE PROCEDURE [dbo].[AddContact] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddBanner]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddBanner]
GO
CREATE PROCEDURE [dbo].[AddBanner] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddArticlesPlus]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddArticlesPlus]
GO
CREATE PROCEDURE [dbo].[AddArticlesPlus] 
AS 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AddAnnouncement]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[AddAnnouncement]
GO
CREATE PROCEDURE [dbo].[AddAnnouncement] 
AS 
GO


/******************************************************
  Stored procedures  End
******************************************************/

/******************************************************
  Stored procedures  Begin
******************************************************/

----------------------------------------------------
-- dbo.AddAnnouncement
----------------------------------------------------


/******************************************************
  Stored procedures  End
******************************************************/

/******************************************************
  Stored procedures  Begin
******************************************************/

----------------------------------------------------
-- dbo.AddAnnouncement
----------------------------------------------------


/******************************************************
  Stored procedures  End
******************************************************/

/******************************************************
  Stored procedures  Begin
******************************************************/




----------------------------------------------------
-- dbo.GetMeteoCode
----------------------------------------------------

/* add all stored procedures with dbo owner */

ALTER procedure [dbo].[GetMeteoCode]
@City nvarchar(50),
@Region nvarchar(50),
@Country nvarchar (50)
as
Declare @Code nvarchar(20)
Select @Code = Null
Select @Code = min(Code) 
from   MeteoMediaCode
where  City like '%' + @City + '%' and
Region like '%' + @Region + '%' and
Country like '%' + @Country + '%'
if @Code is null
begin
select @Code = min(Code)
from   MeteoMediaCode
where  City like '%' + @City + '%' and Region like '%' + @Region + '%'
end
if @Code is null
begin
select @Code = min(Code)
from   MeteoMediaCode
where  City like '%' + @City + '%' 
end
select 'Code' = @Code

GO
----------------------------------------------------
-- dbo.AddAnnouncement
----------------------------------------------------

/* add all stored procedures with dbo owner */
ALTER procedure dbo.AddAnnouncement
@ModuleID       int,
@UserName       nvarchar(100),
@Title          nvarchar(150),
@URL            nvarchar(150),
@Syndicate      bit,
@ExpireDate     DateTime,
@Description    nvarchar(2000),
@ViewOrder	int
as
insert into Announcements (
  ModuleID,
  CreatedByUser,
  CreatedDate,
  Title,
  URL,
  Syndicate,
  ExpireDate,
  Description,
  ViewOrder
)
values (
  @ModuleID,
  @UserName,
  getdate(),
  @Title,
  @URL,
  @Syndicate,
  @ExpireDate,
  @Description,
  @ViewOrder
)

GO
----------------------------------------------------
-- dbo.AddArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.AddArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.AddArticlesPlus
----------------------------------------------------

/****** Object:  Stored Procedure dbo.AddArticlesPlus    Script Date: 10/24/2003 10:26:39 AM ******/
ALTER PROCEDURE dbo.AddArticlesPlus
@ModuleID int,
@CreatedbyUser nvarchar(100),
@Syndicate bit,
@ExpireDate DateTime,
@PublishDate datetime,
@Title nvarchar(200),
@Image nvarchar(500),
@ImageSize int,
@ImageWidth int,
@ImageHeight int,
@ImageAlign int,
@Author nvarchar(200),
@Description nvarchar(2000),
@NavigateURL nvarchar(500),
@NewWindow bit, 
@Authorized bit,
@Article text
as
declare @localArticlesPlusID int
INSERT INTO ArticlesPlus
                      (CreatedByUserID, CreatedDate, APSyndicate, APExpireDate, APPublishDate, APTitle, APImageName, APImageSize, APImageAlign, APAuthor, 
                      APDescription, APAuthorized, APArticle, APNavigateURL, APNewWindow, APImageWidth, APImageHeight)
VALUES     (@CreatedbyUser, GETDATE(), @Syndicate, @ExpireDate, @PublishDate, @Title, @Image, @ImageSize, @ImageAlign, @Author, @Description, 
                      @Authorized, @Article, @NavigateURL, @NewWindow, @ImageWidth, @ImageHeight)
select @localArticlesPlusID = @@identity
INSERT INTO ArticlesPlusModule
            (ArticlesPlusID, ModuleID)
VALUES      (@localArticlesPlusID, @ModuleID)

GO
----------------------------------------------------
-- dbo.AddBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.AddBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.AddBanner
----------------------------------------------------

ALTER procedure dbo.AddBanner
@BannerName    nvarchar(100),
@VendorId      int,
@ImageFile     nvarchar(50),
@URL           nvarchar(100) = null,
@Impressions   int,
@CPM           float,
@StartDate     datetime = null,
@EndDate       datetime = null,
@UserName      nvarchar(100),
@BannerTypeId  int = null
as
insert into Banners (
    VendorId,
    ImageFile,
    BannerName,
    URL,
    Impressions,
    CPM,
    Views,
    ClickThroughs,
    StartDate,
    EndDate,
    CreatedByUser,
    CreatedDate,
    BannerTypeId
)
values (
    @VendorId,
    @ImageFile,
    @BannerName,
    @URL,
    @Impressions,
    @CPM,
    0,
    0,
    @StartDate,
    @EndDate,
    @UserName,
    getdate(),
    @BannerTypeId
)

GO
----------------------------------------------------
-- dbo.AddContact
----------------------------------------------------
----------------------------------------------------
-- dbo.AddContact
----------------------------------------------------
----------------------------------------------------
-- dbo.AddContact
----------------------------------------------------

ALTER procedure dbo.AddContact
@ModuleID int,
@UserName nvarchar(100),
@Name     nvarchar(50),
@Role     nvarchar(100),
@Email    nvarchar(100),
@Contact1 nvarchar(250),
@Contact2 nvarchar(250)
as
insert into Contacts (
  CreatedByUser,
  CreatedDate,
  ModuleID,
  Name,
  Role,
  Email,
  Contact1,
  Contact2
)
values (
  @UserName,
  getdate(),
  @ModuleID,
  @Name,
  @Role,
  @Email,
  @Contact1,
  @Contact2
)

GO
----------------------------------------------------
-- dbo.AddDirectory
----------------------------------------------------
----------------------------------------------------
-- dbo.AddDirectory
----------------------------------------------------
----------------------------------------------------
-- dbo.AddDirectory
----------------------------------------------------

ALTER procedure dbo.AddDirectory
@strRoot    nvarchar(100),
@SpaceUsedDir        int
as
declare @FileId int
select @FileId = null
select @FileId = FileId
from   Files
where  FileName = @strRoot
and    PortalId = -1
if @FileId is null
begin
  insert Files ( 
    PortalId,
    FileName,
    Size,
    Extension,
    ContentType
  )
  values (
    -1,
    @strRoot,
    @SpaceUsedDir,
    'Dir',
    'Dir'
  )
end
else
begin
  update Files
  set    PortalId = -1,
	 FileName = @strRoot,
         Size = @SpaceUsedDir
  where  FileId = @FileId
end

GO
----------------------------------------------------
-- dbo.AddDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.AddDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.AddDocument
----------------------------------------------------

ALTER procedure dbo.AddDocument
@ModuleID         int,
@Title            nvarchar(150),
@URL              nvarchar(250),
@UserName         nvarchar(100),
@Category         nvarchar(50),
@Syndicate        bit
as
insert into Documents (
  ModuleID,
  Title,
  URL,
  CreatedByUser,
  CreatedDate,
  Category,
  Syndicate
)
values (
  @ModuleID,
  @Title,
  @URL,
  @UserName,
  getdate(),
  @Category,
  @Syndicate
)

GO
----------------------------------------------------
-- dbo.AddFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.AddFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.AddFAQ
----------------------------------------------------

ALTER procedure dbo.AddFAQ
@ModuleID int,
@UserName nvarchar(100),
@Question text,
@Answer   text
as
insert into FAQs (
  CreatedByUser,
  CreatedDate,
  ModuleID,
  Question,
  Answer
)
values (
  @UserName,
  getdate(),
  @ModuleID,
  @Question,
  @Answer
)

GO
----------------------------------------------------
-- dbo.AddFile
----------------------------------------------------
----------------------------------------------------
-- dbo.AddFile
----------------------------------------------------
----------------------------------------------------
-- dbo.AddFile
----------------------------------------------------

ALTER procedure dbo.AddFile
@PortalId    int,
@FileName    nvarchar(100),
@Extension   nvarchar(100),
@Size        int,
@Width       int,
@Height      int,
@ContentType nvarchar(200)
as
declare @FileId int
select @FileId = null
select @FileId = FileId
from   Files
where  FileName = @FileName
and    PortalId = @PortalId
if @FileId is null
begin
  insert Files ( 
    PortalId,
    FileName,
    Extension,
    Size,
    Width,
    Height,
    ContentType 
  )
  values (
    @PortalId,
    @FileName,
    @Extension,
    @Size,
    @Width,
    @Height,
    @ContentType 
  )
end
else
begin
  update Files
  set    FileName = @FileName,
         Extension = @Extension,
         Size = @Size,
         Width = @Width,
         Height = @Height,
         ContentType = @ContentType
  where  FileId = @FileId
end

GO
----------------------------------------------------
-- dbo.AddLink
----------------------------------------------------
----------------------------------------------------
-- dbo.AddLink
----------------------------------------------------
----------------------------------------------------
-- dbo.AddLink
----------------------------------------------------

ALTER procedure dbo.AddLink
@ModuleID    int,
@UserName    nvarchar(100),
@Title       nvarchar(100),
@Url         nvarchar(250),
@AlternateUrl   nvarchar(250),
@ViewOrder   int,
@Description nvarchar(2000),
@NewWindow   bit
as
insert into Links (
  ModuleID,
  CreatedByUser,
  CreatedDate,
  Title,
  Url,
  AlternateUrl,
  ViewOrder,
  Description,
  NewWindow
)
values (
  @ModuleID,
  @UserName,
  getdate(),
  @Title,
  @Url,
  @AlternateUrl,
  @ViewOrder,
  @Description,
  @NewWindow
)

GO
----------------------------------------------------
-- dbo.AddMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.AddMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.AddMessage
----------------------------------------------------

ALTER procedure dbo.AddMessage
@Title nvarchar(100),
@Body nvarchar(3000),
@ParentID int,
@UserName nvarchar(100),
@ModuleID int
as
declare @ParentDisplayOrder nvarchar(750)
select @ParentDisplayOrder = ''
select @ParentDisplayOrder = DisplayOrder
from   Discussion 
where  ItemID = @ParentID
insert into Discussion (
  Title,
  Body,
  DisplayOrder,
  CreatedDate, 
  CreatedByUser,
  ModuleID
)
values (
  @Title,
  @Body,
  @ParentDisplayOrder + convert(nvarchar(24),getdate(),21),
  getdate(),
  @UserName,
  @ModuleID
)

GO
----------------------------------------------------
-- dbo.AddModule
----------------------------------------------------
----------------------------------------------------
-- dbo.AddModule
----------------------------------------------------
----------------------------------------------------
-- dbo.AddModule
----------------------------------------------------

 ALTER procedure [dbo].[AddModule]
    
@TabID          int,
@ModuleOrder    int,
@ModuleTitle    nvarchar(256),
@PaneName       nvarchar(50),
@ModuleDefID    int,
@CacheTime      int,
@EditRoles      nvarchar(256),
@ShowFriendly   bit,
@strLanguage	nvarchar(5),
@ModuleID           int OUTPUT
as
if @ModuleOrder = -1
begin
  select @ModuleOrder = max(ModuleOrder) + 2
  from   Modules
  where  TabID = @TabID
  and    PaneName = @PaneName
  if @ModuleOrder is null
    select @ModuleOrder = 1
end
insert into Modules (
  TabID,
  ModuleOrder,
  ModuleTitle,
  PaneName,
  ModuleDefID,
  CacheTime,
  AuthorizedEditRoles,
  ShowFriendly,
  Language,
  Personalize
) 
values (
  @TabID,
  @ModuleOrder,
  @ModuleTitle,
  @PaneName,
  @ModuleDefID,
  @CacheTime,
  @EditRoles,
  @ShowFriendly,
  @strLanguage,
  2
)

select @ModuleID = @@IDENTITY
GO
----------------------------------------------------
-- dbo.AddModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.AddModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.AddModuleDefinition
----------------------------------------------------

ALTER procedure dbo.AddModuleDefinition
    
@FriendlyName   nvarchar(128),
@DesktopSrc     nvarchar(256),
@HelpSrc      nvarchar(256),
@AdminOrder     int,
@EditSrc        nvarchar(256),
@Secure         bit,
@Description    nvarchar(2000),
@EditModuleIcon nvarchar(100),
@IsPremium      bit
as
declare @ModuleDefId int
declare @TabId int
declare @AdministratorRoleId int
declare @PortalId int
declare @TabOrder int
declare @ChildTabId int
insert into ModuleDefinitions (
  FriendlyName,
  DesktopSrc,
  HelpSrc,
  AdminOrder,
  EditSrc,
  Secure,
  Description,
  EditModuleIcon,
  IsPremium
)
values (
  @FriendlyName,
  @DesktopSrc,
  @HelpSrc,
  @AdminOrder,
  @EditSrc,
  @Secure,
  @Description,
  @EditModuleIcon,
  @IsPremium
)
select @ModuleDefID = @@IDENTITY

GO
----------------------------------------------------
-- dbo.AddModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.AddModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.AddModuleEvent
----------------------------------------------------

ALTER procedure [dbo].AddModuleEvent
@ModuleID    int,
@Description nvarchar(2000),
@DateTime    datetime,
@Title       nvarchar(100),
@ExpireDate  datetime = null,
@UserName    nvarchar(200),
@Every       int,
@Period      char(1),
@IconFile    nvarchar(256),
@AltText     nvarchar(50)
as
insert ModuleEvents ( 
  ModuleID,
  Description,
  DateTime,
  Title,
  ExpireDate,
  CreatedByUser,
  CreatedDate,
  Every,
  Period,
  IconFile,
  AltText
)
values (
  @ModuleID,
  @Description,
  @DateTime,
  @Title,
  @ExpireDate,
  @UserName,
  getdate(),
  @Every,
  @Period,
  @IconFile,
  @AltText
)

GO
----------------------------------------------------
-- dbo.AddNewLanguage
----------------------------------------------------
----------------------------------------------------
-- dbo.AddNewLanguage
----------------------------------------------------
----------------------------------------------------
-- dbo.AddNewLanguage
----------------------------------------------------

ALTER procedure [dbo].[AddNewLanguage]
@FromLanguage nvarchar(5),
@ToLanguage nvarchar(5),
@LDescription nvarchar(50),
@CultureCode nvarchar(5),
@Encoding nvarchar(20),
@Extra nvarchar(20)


as
declare

@Zone int,
@Description nvarchar(100),
@Code char(2),
@CCode char(3),
@ICode int,
@SettingName nvarchar(50),
@SettingValue nvarchar(256),
@LSettingValue nvarchar(4000),
@Context nvarchar (50)



----------------------------------------------------
-- Update
----------------------------------------------------
if not exists ( select * from language where language = @ToLanguage )
begin
insert language ( 
    
    Language,
    Description,
    CultureCode,
    Encoding 
  )
  values (
    @ToLanguage,
    @LDescription,
    @CultureCode,
    @Encoding
  )
end
else
begin
  update language
  set 
  Language = @ToLanguage,
  Description = @LDescription,
  CultureCode = @CultureCode,
  Encoding = @Encoding
  where language = @Tolanguage
end

----------------------------------------------------
-- TimeZone
----------------------------------------------------



select @Zone = min(Zone)
from   TimeZone
where  Language = @FromLanguage
while @Zone is not null 
begin
	if not exists ( select * from TimeZone where language = @ToLanguage and Zone = @Zone )
	begin
	select @Description = Description
	from   TimeZone
	where  Language = @FromLanguage and Zone = @Zone
	insert TimeZone ( 
		Zone,
		Language,
		Description 
		)
		values (
		@Zone,
		@ToLanguage,
		@Extra + @Description + @Extra
		)
	end
select @Zone = min(Zone)
from   TimeZone
where  Language = @FromLanguage and  Zone > @Zone 
end  

----------------------------------------------------
-- Country code
----------------------------------------------------

select @Code = min(Code)
from   CodeCountry
where  Language = @FromLanguage
while @Code is not null 
begin
	if not exists ( select * from CodeCountry where language = @ToLanguage and Code = @Code )
	begin
	select @Description = Description
	from   CodeCountry
	where  Language = @FromLanguage and Code = @Code
	insert CodeCountry ( 
		Code,
		Language,
		Description 
		)
		values (
		@Code,
		@ToLanguage,
		@Extra + @Description + @Extra
		)
	end
select @Code = min(Code)
from   CodeCountry
where  Language = @FromLanguage and  Code > @Code 
end  

----------------------------------------------------
-- Currency code
----------------------------------------------------

select @CCode = min(Code)
from   CodeCurrency
where  Language = @FromLanguage
while @CCode is not null 
begin
	if not exists ( select * from CodeCurrency where language = @ToLanguage and Code = @Code )
	begin
	select @Description = Description
	from   CodeCurrency
	where  Language = @FromLanguage and Code = @CCode
	insert CodeCurrency ( 
		Code,
		Language,
		Description 
		)
		values (
		@CCode,
		@ToLanguage,
		@Extra + @Description + @Extra
		)
	end
select @CCode = min(Code)
from   CodeCurrency
where  Language = @FromLanguage and  Code > @CCode 
end  


----------------------------------------------------
-- Frequency code
----------------------------------------------------

select @CCode = min(Code)
from   CodeFrequency
where  Language = @FromLanguage
while @CCode is not null 
begin
	if not exists ( select * from CodeFrequency where language = @ToLanguage and Code = @CCode )
	begin
	select @Description = Description
	from   CodeFrequency
	where  Language = @FromLanguage and Code = @CCode
	insert CodeFrequency ( 
		Code,
		Language,
		Description 
		)
		values (
		@CCode,
		@ToLanguage,
		@Extra + @Description + @Extra
		)
	end
select @CCode = min(Code)
from   CodeFrequency
where  Language = @FromLanguage and  Code > @CCode 
end  

----------------------------------------------------
-- Region code
----------------------------------------------------

select @Code = min(Code)
from   CodeRegion
where  Language = @FromLanguage
while @Code is not null 
begin
	if not exists ( select * from CodeRegion where language = @ToLanguage and Code = @Code )
	begin
	select @Description = Description
	from   CodeRegion
	where  Language = @FromLanguage and Code = @Code
	select @CCode = Country
	from   CodeRegion
	where  Language = @FromLanguage and Code = @Code
	insert CodeRegion ( 
		Code,
		Language,
		Description,
		Country 
		)
		values (
		@Code,
		@ToLanguage,
		@Extra + @Description + @Extra,
		@CCode
		)
	end
select @Code = min(Code)
from   CodeRegion
where  Language = @FromLanguage and  Code > @Code 
end  

----------------------------------------------------
-- Site Log Report CODE
----------------------------------------------------

select @ICode = min(Code)
from   CodeSiteLogReport
where  Language = @FromLanguage
while @ICode is not null 
begin
	if not exists ( select * from CodeSiteLogReport where language = @ToLanguage and Code = @ICode )
	begin
	select @Description = Description
	from   CodeSiteLogReport
	where  Language = @FromLanguage and Code = @ICode
	insert CodeSiteLogReport ( 
		Code,
		Language,
		Description
		)
		values (
		@ICode,
		@ToLanguage,
		@Extra + @Description + @Extra
		)
	End
select @ICode = min(Code)
from   CodeSiteLogReport
where  Language = @FromLanguage and  Code > @ICode 
end  

----------------------------------------------------
-- Language Settings
----------------------------------------------------

select @SettingName = min(SettingName)
from   languageSettings
where  Language = @FromLanguage
while  @SettingName is not null 
begin
	if not exists ( select * from languageSettings where language = @ToLanguage and SettingName = @SettingName )
	begin
	select @SettingValue = SettingValue
	from   languageSettings
	where  Language = @FromLanguage and SettingName = @SettingName
	select @Context = Context
	from   languageSettings
	where  Language = @FromLanguage and SettingName = @SettingName
	insert languageSettings ( 
		Language,
		SettingName,
		SettingValue,
		Context
		)
		values (
		@ToLanguage,
		@SettingName,
		@Extra+ @SettingValue + @Extra,    
		@Context
		)
	end
select @SettingName = min(SettingName)
from   languageSettings
where  Language = @FromLanguage and  SettingName > @SettingName 
end  

----------------------------------------------------
-- Long Language Settings
----------------------------------------------------

select @SettingName = min(SettingName)
from   longlanguageSettings
where  Language = @FromLanguage
while  @SettingName is not null 
begin
	if not exists ( select * from longlanguageSettings where language = @ToLanguage and SettingName = @SettingName )
	begin
	select @LSettingValue = SettingValue
	from   longlanguageSettings
	where  Language = @FromLanguage and SettingName = @SettingName
	insert longlanguageSettings ( 
		Language,
		SettingName,
		SettingValue
		)
		values (
		@ToLanguage,
		@SettingName,
		@Extra + @LSettingValue + @Extra
		)
	end
select @SettingName = min(SettingName)
from   longlanguageSettings
where  Language = @FromLanguage and  SettingName > @SettingName 
end  



exec UpdatelanguageContext @ToLanguage, 'culturecode', @CultureCode, 'language'
exec UpdatelanguageContext @ToLanguage, 'language', @LDescription, 'language'





GO
----------------------------------------------------
-- dbo.AddPayPalIPN
----------------------------------------------------
----------------------------------------------------
-- dbo.AddPayPalIPN
----------------------------------------------------

ALTER procedure [dbo].[AddPayPalIPN]
	@PayPalID as nchar(20),
	@PortalID  as int,
	@UserID    as int,
	@RoleID    as int,
	@Response as bit,
	@RawData as nvarchar(1000),
    @ItemName as nvarchar(256),
    @PortalRenew as bit
as
 

insert PayPalIPN ( 
  PayPalID,
  PortalId,
  UserId,
  RoleID,
  Response,
  RawData,
  ItemName,
  PortalRenew
)
values (
  @PayPalID,
  @PortalId,
  @UserId,
  @RoleID,
  @Response,
  @RawData,
  @ItemName,
  @PortalRenew
)


GO
----------------------------------------------------
-- dbo.AddPortalInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.AddPortalInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.AddPortalInfo
----------------------------------------------------
ALTER procedure [dbo].[AddPortalInfo]
@Language           nvarchar(5),
@HomePage			bit,
@PortalName         nvarchar(128),
@PortalAlias        nvarchar(200),
@Currency           char(3) = null,
@FirstName          nvarchar(100),
@LastName           nvarchar(100),
@Username           nvarchar(100),
@Password           nvarchar(50),
@Email              nvarchar(100),
@ExpiryDate         datetime = null,
@HostFee            money = 0,
@HostSpace          int = null,
@SiteLogHistory     int = null,
@PortalID           int OUTPUT

as

declare @UserId int
declare @AdministratorRoleId int
declare @RegisteredRoleId    int
declare @SuperUserId int
declare @TimeZone int

declare @HomePageNV nvarchar(50)
declare @HomePageFR nvarchar(50)

declare @RoleName nvarchar(50)
declare @RoleDescription nvarchar(1000)

begin transaction

Select @TimeZone = SettingValue  FROM HostSettings  WHERE HostSettings.SettingName = 'TimeZone'

insert into Portals (
  PortalName,
  PortalAlias,
  LogoFile,
  FooterText,
  ExpiryDate,
  UserRegistration,
  BannerAdvertising,
  Currency,
  AdministratorId,
  HostFee,
  HostSpace,
  AdministratorRoleId,
  RegisteredRoleId,
  Description,
  KeyWords,
  BackgroundFile,
  SiteLogHistory,
  TimeZone
)
values (
  @PortalName,
  @PortalAlias,
  null,
  null,
  @ExpiryDate,
  0,
  0,
  @Currency,
  null,
  @HostFee,
  @HostSpace,
  null,
  null,
  @PortalName,
  @PortalName,
  null,
  @SiteLogHistory,
  @TimeZone
)

select @PortalID = @@IDENTITY


select @RoleName = Language.AdminRole From Language where Language.language = @Language
select @RoleDescription = Language.AdminRoleDesc From Language where Language.language = @Language


insert into Roles (
  PortalID,
  RoleName,
  Description,
  ServiceFee,
  BillingPeriod,
  BillingFrequency,
  TrialFee,
  TrialPeriod,
  TrialFrequency,
  IsPublic,
  AutoAssignment
)
values (
  @PortalID,
  @RoleName,
  @RoleDescription,
  0,
  null,
  'M',
  null,
  null,
  'N',
  0,
  0
)

select @AdministratorRoleId = @@IDENTITY

select @RoleName = Language.UserRole From Language where Language.language = @Language
select @RoleDescription = Language.UserRoleDesc From Language where Language.language = @Language


insert into Roles (
  PortalID,
  RoleName,
  Description,
  ServiceFee,
  BillingPeriod,
  BillingFrequency,
  TrialFee,
  TrialPeriod,
  TrialFrequency,
  IsPublic,
  AutoAssignment
)
values (
  @PortalID,
  @RoleName,
  @RoleDescription,
  0,
  null,
  'N',
  null,
  null,
  'N',
  0,
  1
)

select @RegisteredRoleId = @@IDENTITY

if @HomePage = 1 begin

select @HomePageNV = Language.HomePage From Language where Language.language = @Language
select @HomePageFR = Language.FriendlyHomePage From Language where Language.language = @Language

insert into Tabs (
    PortalID,
    TabOrder,
    TabName,
    AuthorizedRoles,
    AdministratorRoles,
    FriendlyTabName,
    ShowFriendly,
    LeftPaneWidth,
    RightPaneWidth,
    IsVisible,
    ParentId,
    IconFile,
    Level
) 
values (
    @PortalID,
    1,
    @HomePageNV,
    '-1;',
    null,
    @HomePageFR,
    1,
    '200',
    '200',
    1,
    null,
    null,
    0
)
end


select @UserId = null


select @SuperUserId = UserId
from   Users
where  IsSuperUser = 1
and    Username = @Username

/* validate to make sure not using superusername */


select @UserId = Users.UserId
from   UserPortals
inner join Users on UserPortals.UserId = Users.UserId
where  PortalID = @PortalID
and    Username = @Username



if @UserId is null
begin
  insert into Users (
    FirstName,
 LastName,
    Username, 
    Password,
    Email
  )
  values (
    @FirstName,
    @LastName,
    @Username,
    @Password,
    @Email
  )

  select @UserId = @@IDENTITY
end


insert into UserPortals (
  UserId,
  PortalId,
  Authorized,
  CreatedDate,
  LastLoginDate
)
values (
  @UserId,
  @PortalID,
  1,
  getdate(),
  getdate()
)

if not exists ( select 1 from UserRoles where UserId = @UserId and RoleID = @AdministratorRoleId )
begin
  insert into UserRoles (
    UserId,
    RoleId,
    ExpiryDate
  )
  values (
    @UserId,
    @AdministratorRoleId, /* Administrators */
    null
  )
end

if not exists ( select 1 from UserRoles where UserId = @UserId and RoleID = @RegisteredRoleId )
begin
  insert into UserRoles (
    UserId,
    RoleId,
    ExpiryDate
  )
  values (
    @UserId,
    @RegisteredRoleId, /* Registered */
    null
  )
end

update Portals
set    AdministratorId = @UserId,
       AdministratorRoleId = @AdministratorRoleId,
       RegisteredRoleId = @RegisteredRoleId
where  PortalID = @PortalID

 
exec UpdatePortalSetting @PortalId, 'container', '<table cellpadding="2" cellspacing="0" width="100%"[COLOR][BORDER]><tr><td[ALIGN]>[MODULE]</td></tr></table>'


if @@error <> 0
  rollback transaction
else
  commit transaction



GO
----------------------------------------------------
-- dbo.AddRole
----------------------------------------------------
----------------------------------------------------
-- dbo.AddRole
----------------------------------------------------
----------------------------------------------------
-- dbo.AddRole
----------------------------------------------------

ALTER procedure dbo.AddRole
@PortalID         int,
@RoleName         nvarchar(50),
@Description      nvarchar(1000),
@ServiceFee       money,
@BillingPeriod    int,
@BillingFrequency char(1),
@TrialFee         money,
@TrialPeriod      int,
@TrialFrequency   char(1),
@IsPublic         bit,
@AutoAssignment   bit
as
declare @RoleId int
declare @UserId int
insert into Roles(
  PortalID,
  RoleName,
  Description,
  ServiceFee,
  BillingPeriod,
  BillingFrequency,
  TrialFee,
  TrialPeriod,
  TrialFrequency,
  IsPublic,
  AutoAssignment
)
values (
  @PortalID,
  @RoleName,
  @Description,
  @ServiceFee,
  @BillingPeriod,
  @BillingFrequency,
  @TrialFee,
  @TrialPeriod,
  @TrialFrequency,
  @IsPublic,
  @AutoAssignment
)
select @RoleId = @@IDENTITY
If @RoleId is not null and @AutoAssignment = 1
begin
  select @UserId = min(UserId)
  from   UserPortals
  where  PortalId = @PortalId
  While @UserId is not null
  begin
    if not exists ( select 1 from UserRoles where UserId = @UserId and RoleId = @RoleId )
    begin
      insert into UserRoles (
        UserID,
        RoleID,
        ExpiryDate,
        IsTrialUsed
      )
      values (
        @UserID,
        @RoleID,
        null,
        0 
      )
    end
    select @UserId = min(UserId)
    from   UserPortals
    where  PortalId = @PortalId
    and    UserId > @UserId
  end  
end

GO
----------------------------------------------------
-- dbo.AddSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.AddSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.AddSearch
----------------------------------------------------

ALTER procedure dbo.AddSearch
@ModuleID  int,
@TableName nvarchar(50)
as
if not exists ( select 1 from Search where ModuleId = @ModuleId and TableName = @TableName )
begin
  insert into Search (
    ModuleId,
    TableName
  )
  values (
    @ModuleId,
    @TableName
  )
end

GO
----------------------------------------------------
-- dbo.AddSiteLog
----------------------------------------------------
----------------------------------------------------
-- dbo.AddSiteLog
----------------------------------------------------
----------------------------------------------------
-- dbo.AddSiteLog
----------------------------------------------------

ALTER procedure dbo.AddSiteLog
@PortalId                      int,
@UserId                        int                   = null,
@Referrer                      nvarchar(255)         = null,
@Url                           nvarchar(255)         = null,
@UserAgent                     nvarchar(255)         = null,
@UserHostAddress               nvarchar(255)         = null,
@UserHostName                  nvarchar(255)         = null,
@TabId                         int                   = null,
@AffiliateId                   int                   = null
as
 
declare @SiteLogHistory int
insert SiteLog ( 
  DateTime,
  PortalId,
  UserId,
  Referrer,
  Url,
  UserAgent,
  UserHostAddress,
  UserHostName,
  TabId,
  AffiliateId
)
values (
  getdate(),
  @PortalId,
  @UserId,
  @Referrer,
  @Url,
  @UserAgent,
  @UserHostAddress,
  @UserHostName,
  @TabId,
  @AffiliateId
)
/* purge site log history */
select @SiteLogHistory = SiteLogHistory
from   Portals
where  PortalID = @PortalId
if @SiteLogHistory is not null
begin
  delete
  from   SiteLog
  where  PortalID = @PortalId
  and    datediff(day,DateTime,getdate()) > @SiteLogHistory
  and    AffiliateId is null
end

GO
----------------------------------------------------
-- dbo.AddTab
----------------------------------------------------
----------------------------------------------------
-- dbo.AddTab
----------------------------------------------------
----------------------------------------------------
-- dbo.AddTab
----------------------------------------------------

ALTER procedure [dbo].AddTab
@PortalID           int,
@TabName            nvarchar(50),
@ShowFriendly         bit,
@FriendlyTabName      nvarchar(50),
@AuthorizedRoles    nvarchar (256),
@LeftPaneWidth      nvarchar(5),
@RightPaneWidth     nvarchar(5),
@IsVisible          bit,
@DisableLink        bit,
@ParentId           int,
@IconFile           nvarchar(100),
@AdministratorRoles nvarchar (256),
@TabID              int OUTPUT
as
if @ParentId is not null
begin
  select @IsVisible = 1
end
insert into Tabs (
    PortalID,
    TabName,
    ShowFriendly,
    FriendlyTabName,
    AuthorizedRoles,
    LeftPaneWidth,
    RightPaneWidth,
    IsVisible,
    DisableLink,
    ParentId,
    IconFile,
    AdministratorRoles
)
values (
    @PortalID,
    @TabName,
    @ShowFriendly,
    @FriendlyTabName,
    @AuthorizedRoles,
    @LeftPaneWidth,
    @RightPaneWidth,
    @IsVisible,
    @DisableLink,
    @ParentId,
    @IconFile,
    @AdministratorRoles
)
select @TabID = @@IDENTITY

GO
----------------------------------------------------
-- dbo.AddUser
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUser
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUser
----------------------------------------------------

ALTER procedure [dbo].AddUser
@PortalId       int,
@FirstName	nvarchar(50),
@LastName	nvarchar(50),
@Unit		nvarchar(50),
@Street		nvarchar(50),
@City		nvarchar(50),
@Region		nvarchar(50),
@PostalCode	nvarchar(50),
@Country	nvarchar(50),
@Telephone      nvarchar(50),
@Email		nvarchar(100),
@Username	nvarchar(100),
@Password	nvarchar(50),
@Authorized     bit,
@UserID	int	OUTPUT
as
declare @SuperUserId int, @TempUserId int, @RoleID int, @count int
select @SuperUserId = null
select @SuperUserId = UserId
from   Users
where  IsSuperUser = 1
and    Username = @Username
/* validate to make sure not using superusername */
if @SuperUserId is null
begin
select @count = count(Users.UserId)
from   UserPortals
inner join Users on UserPortals.UserId = Users.UserId
where  PortalID = @PortalID
and    Username = @Username
if @count = 0
begin
  insert into Users (
    FirstName,
    LastName,
    Unit, 
    Street, 
    City,
    Region, 
    PostalCode,
    Country,
    Telephone,
    Email,
    Username,
    Password
  )
  values (
    @FirstName,
    @LastName,
    @Unit,
    @Street,
    @City,
    @Region,
    @PostalCode,
    @Country,
    @Telephone,
    @Email,
    @Username,
    @Password
  )
  select @UserID = @@IDENTITY
end
end
if @UserId is not null
begin
  if not exists ( select 1 from UserPortals where UserId = @UserId and PortalId = @PortalId ) 
  begin
    insert into UserPortals (
      UserId,
      PortalId,
      Authorized,
      CreatedDate
    )
    values (
      @UserId,
      @PortalId,
      @Authorized,
      getdate()
    )
  end
  select @RoleID = min(RoleID)
  from   Roles
  where  PortalID = @PortalID
  and    AutoAssignment = 1
  while @RoleID is not null
  begin
    if not exists ( select 1 from UserRoles where UserId = @UserId and RoleId = @RoleId )
    begin
      insert into UserRoles (
        UserID,
        RoleID,
        ExpiryDate,
        IsTrialUsed
      )
      values (
        @UserID,
        @RoleID,
        null,
        0 
      )
    end
    select @RoleID = min(RoleID)
    from   Roles
    where  PortalID = @PortalID
    and    AutoAssignment = 1
    and    RoleID > @RoleID
  end
end

GO
----------------------------------------------------
-- dbo.AddUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUserDefinedField
----------------------------------------------------

ALTER procedure dbo.AddUserDefinedField
@ModuleId     int,
@FieldTitle   varchar(50),
@Visible      bit,
@FieldType    varchar(20)
as
declare @FieldOrder int
select @FieldOrder = count(*) + 1
from   UserDefinedFields
where  ModuleId = @ModuleId
insert UserDefinedFields ( 
  ModuleId,
  FieldTitle,
  Visible,
  FieldType
)
values (
  @ModuleId,
  @FieldTitle,
  @Visible,
  @FieldType
)

GO
----------------------------------------------------
-- dbo.AddUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUserDefinedRow
----------------------------------------------------

ALTER procedure dbo.AddUserDefinedRow
@ModuleId         int,
@UserDefinedRowId int OUTPUT
as
insert UserDefinedRows ( 
  ModuleId
)
values (
  @ModuleId
)
select @UserDefinedRowId = @@IDENTITY

GO
----------------------------------------------------
-- dbo.AddUserRole
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUserRole
----------------------------------------------------
----------------------------------------------------
-- dbo.AddUserRole
----------------------------------------------------

ALTER procedure dbo.AddUserRole
@PortalID   int,
@UserID     int,
@RoleID     int,
@ExpiryDate datetime = null
as
declare @UserRoleID int
select @UserRoleID = null
select @UserRoleID = UserRoleID
from   UserRoles
inner join UserPortals on UserPortals.UserId = @UserID
where  UserRoles.UserID = @UserID
and    UserRoles.RoleID = @RoleID
and    PortalID = @PortalID
 
if @UserRoleID is not null
begin
  update UserRoles
  set    ExpiryDate = @ExpiryDate
  where  UserRoleId = @UserRoleID
end
else
begin
  insert UserRoles (
    UserID,
    RoleID,
    ExpiryDate
  )
  values (
    @UserID,
    @RoleID,
    @ExpiryDate
  )
end

GO
----------------------------------------------------
-- dbo.AddVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.AddVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.AddVendor
----------------------------------------------------

ALTER procedure dbo.AddVendor
@PortalID 	int,
@VendorName 	nvarchar(50),
@Unit    	nvarchar(50),
@Street 	nvarchar(50),
@City		nvarchar(50),
@Region	        nvarchar(50),
@Country	nvarchar(50),
@PostalCode	nvarchar(50),
@Telephone	nvarchar(50),
@Fax   	        nvarchar(50),
@Email    	nvarchar(50),
@Website	nvarchar(100),
@FirstName	nvarchar(50),
@LastName	nvarchar(50),
@UserName       nvarchar(100),
@LogoFile       nvarchar(100),
@KeyWords       text,
@Authorized     bit,
@VendorID	int OUTPUT
as
if exists ( select 1 from Vendors where VendorName = @VendorName and Authorized = 0 )
begin
  delete
  from   Vendors
  where  VendorName = @VendorName
end
insert into Vendors (
  VendorName,
  Unit,
  Street,
  City,
  Region,
  Country,
  PostalCode,
  Telephone,
  PortalId,
  Fax,
  Email,
  Website,
  FirstName,
  Lastname,
  ClickThroughs,
  Views,
  CreatedByUser,
  CreatedDate,
  LogoFile,
  KeyWords,
  Authorized
)
values (
  @VendorName,
  @Unit,
  @Street,
  @City,
  @Region,
  @Country,
  @PostalCode,
  @Telephone,
  @PortalID,
  @Fax,
  @Email,
  @Website,
  @FirstName,
  @LastName,
  0,
  0,
  @UserName,
  getdate(), 
  @LogoFile,
  @KeyWords,
  @Authorized
)
select @VendorID = @@IDENTITY

GO
----------------------------------------------------
-- dbo.AddVendorClassification
----------------------------------------------------
----------------------------------------------------
-- dbo.AddVendorClassification
----------------------------------------------------
----------------------------------------------------
-- dbo.AddVendorClassification
----------------------------------------------------

ALTER procedure dbo.AddVendorClassification
@VendorId           int,
@ClassificationId   int
as
insert VendorClassification ( 
  VendorId,
  ClassificationId
)
values (
  @VendorId,
  @ClassificationId
)

GO
----------------------------------------------------
-- dbo.AddVendorClassificationName
----------------------------------------------------
----------------------------------------------------
-- dbo.AddVendorClassificationName
----------------------------------------------------
----------------------------------------------------
-- dbo.AddVendorClassificationName
----------------------------------------------------

ALTER procedure [dbo].[AddVendorClassificationName]
@ClassificationName  nvarchar(200)
as
insert Classification ( 
 ClassificationName
)
values (
  @ClassificationName
)


GO
----------------------------------------------------
-- dbo.CheckUserSecurity
----------------------------------------------------
----------------------------------------------------
-- dbo.CheckUserSecurity
----------------------------------------------------
----------------------------------------------------
-- dbo.CheckUserSecurity
----------------------------------------------------

ALTER procedure dbo.CheckUserSecurity
@PortalID int,
@Username nvarchar(100)
as
 
select loginsecurity.UserId,
       loginsecurity.code,
       loginsecurity.nextlogin,
       loginsecurity.try
from   Users
left outer join loginsecurity on Users.UserId = loginsecurity.UserId
left outer join UserPortals on Users.UserId = UserPortals.UserId
where  username = @Username
and    (UserPortals.PortalId = @PortalId)

GO
----------------------------------------------------
-- dbo.CopyTab
----------------------------------------------------
----------------------------------------------------
-- dbo.CopyTab
----------------------------------------------------
----------------------------------------------------
-- dbo.CopyTab
----------------------------------------------------

ALTER procedure dbo.CopyTab
@FromTabId       int,
@ToTabId         int
as
declare @ModuleId int
select @ModuleId = min(ModuleId)
from   Modules
where  TabId = @FromTabId
while @ModuleId is not null
begin
  insert into Modules ( TabId, ModuleDefID, ModuleOrder, PaneName, ModuleTitle, AuthorizedEditRoles, CacheTime, ShowFriendly, AuthorizedViewRoles, Alignment, Color, Border, IconFile, AllTabs, ShowTitle, Personalize, Container )
    select @ToTabId, ModuleDefID, ModuleOrder, PaneName, ModuleTitle, AuthorizedEditRoles, CacheTime, ShowFriendly, AuthorizedViewRoles, Alignment, Color, Border, IconFile, AllTabs, ShowTitle, Personalize, Container
    from   Modules
    where  ModuleId = @ModuleId
  select @ModuleId = min(ModuleId)
  from   Modules
  where  TabId = @FromTabId
  and    ModuleId > @ModuleId
end

GO
----------------------------------------------------
-- dbo.DeleteAnnouncement
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteAnnouncement
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteAnnouncement
----------------------------------------------------

ALTER procedure dbo.DeleteAnnouncement
@ItemID int
as
delete
from   Announcements
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.DeleteArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteArticlesPlus
----------------------------------------------------

/****** Object:  Stored Procedure dbo.DeleteArticlesPlus    Script Date: 10/24/2003 10:26:39 AM ******/
ALTER PROCEDURE dbo.DeleteArticlesPlus
(
    @ArticlesPlusID int
)
AS
DELETE FROM
    ArticlesPlus
WHERE
    ArticlesPlusID = @ArticlesPlusID

GO
----------------------------------------------------
-- dbo.DeleteBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteBanner
----------------------------------------------------

ALTER procedure dbo.DeleteBanner
@BannerId int
as
delete
from   Banners
where  BannerId = @BannerId

GO
----------------------------------------------------
-- dbo.DeleteContact
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteContact
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteContact
----------------------------------------------------

ALTER procedure dbo.DeleteContact
@ItemID int
as
delete
from   Contacts
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.DeleteDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteDocument
----------------------------------------------------

ALTER procedure dbo.DeleteDocument
@ItemID int
as
delete
from   Documents
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.DeleteFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteFAQ
----------------------------------------------------

ALTER procedure dbo.DeleteFAQ
@ItemID int
as
delete
from   FAQs
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.DeleteFile
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteFile
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteFile
----------------------------------------------------

ALTER procedure dbo.DeleteFile
@FileName nvarchar(100),
@PortalId int
as
if @PortalId is null
begin
  delete 
  from   Files
  where  FileName = @FileName
  and    PortalId is null
end
else
begin
  delete 
  from   Files
  where  FileName = @FileName
  and    PortalId = @PortalId
end

GO
----------------------------------------------------
-- dbo.DeleteFiles
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteFiles
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteFiles
----------------------------------------------------

ALTER procedure dbo.DeleteFiles
@PortalId int
as
if @PortalId is null
begin
  delete 
  from   Files
  where  PortalId is null
end
else
begin
  delete 
  from   Files
  where  PortalId = @PortalId
end

GO
----------------------------------------------------
-- dbo.DeleteLink
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteLink
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteLink
----------------------------------------------------

ALTER procedure dbo.DeleteLink
@ItemID int
as
delete
from   Links
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.DeleteMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteMessage
----------------------------------------------------

ALTER procedure dbo.DeleteMessage
@ItemId int
as
declare @ModuleId int
declare @Start int
declare @Parent nvarchar(23)
select @ModuleId = ModuleId,
       @Start = len(DisplayOrder) - 22,
       @Parent = substring(DisplayOrder,len(DisplayOrder) - 22,23)
from   Discussion
where  ItemId = @ItemId
delete
from   Discussion
where  ModuleId = @ModuleId
and    substring(DisplayOrder, @Start,23) = @Parent

GO
----------------------------------------------------
-- dbo.DeleteModule
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteModule
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteModule
----------------------------------------------------

ALTER procedure dbo.DeleteModule
@ModuleID       int
as
delete
from   Modules 
where  ModuleID = @ModuleID
delete
from   modulesettings 
where  ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.DeleteModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteModuleDefinition
----------------------------------------------------

ALTER procedure dbo.DeleteModuleDefinition
@ModuleDefID int
as
delete
from   Modules
where  ModuleDefID = @ModuleDefID
delete
from   ModuleDefinitions
where  ModuleDefID = @ModuleDefID

GO
----------------------------------------------------
-- dbo.DeleteModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteModuleEvent
----------------------------------------------------

ALTER procedure dbo.DeleteModuleEvent
@ItemID int
as
delete
from   ModuleEvents
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.DeletePortalInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.DeletePortalInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.DeletePortalInfo
----------------------------------------------------

ALTER procedure dbo.DeletePortalInfo
@PortalID int
as
declare @UserId int
select @UserID = min(UserID)
from   UserPortals
where  PortalId = @PortalID
while @UserID is not null
begin
  delete
  from   UserPortals
  where  UserID = @UserID
  and    PortalId = @PortalID
  delete
  from   PrivateMessages
  where  SenderID = @UserID
  delete
  from   PrivateMessages
  where  ReceiverID = @UserID
  delete
  from   UsersOnline_PrivateMessages
  where  SenderID = @UserID
  delete
  from   UsersOnline_PrivateMessages
  where  ReceiverID = @UserID
  delete
  from   UsersOnline_Buddies
  where  UserID = @UserID
  delete
  from   UsersOnline_Buddies
  where  BuddyID = @UserID
  delete
  from   Users
  where  UserID = @UserID
  
  select @UserID = min(UserID)
  from   UserPortals
  where  PortalId = @PortalID
  and    UserID > @UserID
end
delete
from   Files
where  PortalId = @PortalID
delete
from   Files
where  PortalId = -1
delete
from   Portals
where  PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.DeleteRole
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteRole
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteRole
----------------------------------------------------

ALTER procedure dbo.DeleteRole
@RoleID int
as
if @RoleID <> 0 /* Admins Role */
begin
  delete 
  from   Roles
  where  RoleID = @RoleID
end

GO
----------------------------------------------------
-- dbo.DeleteSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteSearch
----------------------------------------------------

ALTER procedure dbo.DeleteSearch
@SearchID int
as
delete
from   Search
where  SearchId = @SearchId

GO
----------------------------------------------------
-- dbo.DeleteSessions
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteSessions
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteSessions
----------------------------------------------------

/****** Object:  Stored Procedure dbo.DeleteSessions    Script Date: 9/10/2003 11:13:45 PM ******/
ALTER procedure DeleteSessions
as
delete from SessionTracker

GO
----------------------------------------------------
-- dbo.DeleteTab
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteTab
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteTab
----------------------------------------------------

ALTER procedure dbo.DeleteTab
@TabID int
as
if not exists ( select 1 from Tabs where ParentId = @TabID )
begin 
  delete
  from   Tabs
  where  TabID = @TabID
end

GO
----------------------------------------------------
-- dbo.DeleteTabName
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteTabName
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteTabName
----------------------------------------------------
ALTER procedure dbo.DeleteTabName

@TabID int,
@Language nvarchar(5)

as

  delete
  from   TabsName
  where  TabID = @TabID and Language = @Language


GO
----------------------------------------------------
-- dbo.DeleteUser
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUser
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUser
----------------------------------------------------

ALTER procedure dbo.DeleteUser
@PortalId int,
@UserID   int
as
declare @RoleId int
if not exists ( select 1 from Portals where AdministratorId = @UserID )
begin
  delete
  from   UserPortals
  where  PortalId = @PortalId
  and    UserID = @UserID
  select @RoleId = min(RoleId)
  from   Roles
  where  PortalId = @PortalId
  while @RoleId is not null
  begin
    delete
    from   UserRoles
    where  UserId = @UserId
    and    RoleId = @RoleId
    select @RoleId = min(RoleId)
    from   Roles
    where  PortalId = @PortalId
    and    RoleId > @RoleId
  end
  if not exists ( select 1 from UserPortals where UserId = @UserID )
  begin
    delete
    from   Users
    where  UserID = @UserID
  end
end
  delete
  from   PrivateMessages
  where  SenderID = @UserID
  delete
  from   PrivateMessages
  where  ReceiverID = @UserID
  delete
  from   UsersOnline_PrivateMessages
  where  SenderID = @UserID
  delete
  from   UsersOnline_PrivateMessages
  where  ReceiverID = @UserID
  delete
  from   UsersOnline_Buddies
  where  UserID = @UserID
  delete
  from   UsersOnline_Buddies
  where  BuddyID = @UserID

GO
----------------------------------------------------
-- dbo.DeleteUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUserDefinedField
----------------------------------------------------

ALTER procedure dbo.DeleteUserDefinedField
@UserDefinedFieldId    int 
as
delete 
from   UserDefinedData
where  UserDefinedFieldId = @UserDefinedFieldId
delete 
from   UserDefinedFields
where  UserDefinedFieldId = @UserDefinedFieldId

GO
----------------------------------------------------
-- dbo.DeleteUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUserDefinedRow
----------------------------------------------------

ALTER procedure dbo.DeleteUserDefinedRow
@UserDefinedRowId    int 
as
delete 
from   UserDefinedData
where  UserDefinedRowId = @UserDefinedRowId
delete 
from   UserDefinedRows
where  UserDefinedRowId = @UserDefinedRowId

GO
----------------------------------------------------
-- dbo.DeleteUserRole
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUserRole
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUserRole
----------------------------------------------------

ALTER procedure dbo.DeleteUserRole
@UserRoleID int
as
declare @UserID int
declare @RoleID int
declare @AdministratorRoleId int
select @UserID = UserID,
       @RoleID = RoleID
from   UserRoles
where  UserRoleID = @UserRoleID
select @AdministratorRoleId = AdministratorRoleId
from   Roles
inner join Portals on Roles.PortalID = Portals.PortalID
where  RoleID = @RoleID
/* do not remove Administrators role from Portal Administrator */
if not exists ( select 1 from Portals where AdministratorId = @UserID and @RoleID = @AdministratorRoleId ) 
begin
  delete
  from   UserRoles
  where  UserRoleID = @UserRoleID
end

GO
----------------------------------------------------
-- dbo.DeleteUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteUsers
----------------------------------------------------

ALTER procedure dbo.DeleteUsers
@PortalID int
as
declare @UserID int
select @UserID = min(UserID)
from   UserPortals
where  PortalID = @PortalID
and    ( UserPortals.Authorized = 0 or UserPortals.LastLoginDate is null )
and    datediff(day, UserPortals.CreatedDate, getdate()) > 7
while @UserID is not null
begin
  exec DeleteUser @PortalID, @UserID
  select @UserID = min(UserID)
  from   UserPortals
  where  PortalID = @PortalID
  and    ( UserPortals.Authorized = 0 or UserPortals.LastLoginDate is null )
  and    datediff(day, UserPortals.CreatedDate, getdate()) > 7
  and    UserID > @UserID
end

GO
----------------------------------------------------
-- dbo.DeleteVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendor
----------------------------------------------------

ALTER procedure dbo.DeleteVendor
@VendorID int
as
delete
from   Vendors
where  VendorID = @VendorID

GO
----------------------------------------------------
-- dbo.DeleteVendorClassification
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendorClassification
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendorClassification
----------------------------------------------------

ALTER procedure [dbo].[DeleteVendorClassification]
@ClassificationId  int
as
delete
from   Classification
where  ClassificationId = @ClassificationId


GO
----------------------------------------------------
-- dbo.DeleteVendorClassifications
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendorClassifications
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendorClassifications
----------------------------------------------------

ALTER procedure dbo.DeleteVendorClassifications
@VendorId  int
as
delete
from   VendorClassification
where  VendorId = @VendorId

GO
----------------------------------------------------
-- dbo.DeleteVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendorFeedback
----------------------------------------------------

ALTER procedure dbo.DeleteVendorFeedback
@VendorId int,
@UserId   int
as
delete
from   VendorFeedback
where  VendorId = @VendorId
and    UserId = @UserId

GO
----------------------------------------------------
-- dbo.DeleteVendors
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendors
----------------------------------------------------
----------------------------------------------------
-- dbo.DeleteVendors
----------------------------------------------------

ALTER procedure dbo.DeleteVendors
@PortalId  int 
as
if @PortalId is null
begin
  delete 
  from   Vendors
  where  PortalId is null
  and    Authorized = 0
  and    datediff(day, CreatedDate, getdate()) > 7
end
else
begin
  delete 
  from   Vendors
  where  PortalId = @PortalId
  and    Authorized = 0
  and    datediff(day, CreatedDate, getdate()) > 7
end

GO
----------------------------------------------------
-- dbo.FindBanners
----------------------------------------------------
----------------------------------------------------
-- dbo.FindBanners
----------------------------------------------------
----------------------------------------------------
-- dbo.FindBanners
----------------------------------------------------

ALTER procedure [dbo].[FindBanners]
@DisplayPortalId int,
@BannerTypeId int = null,
@SelectPortalId int = null,
@Banners  int = 1
as
declare @RecordCounter int
declare @RandomRecord int
declare @BannerId int
declare @StartDate smalldatetime
declare @EndDate smalldatetime
declare @Views int
declare @Impressions int
declare @VendorId int
declare @SiteLogHistory int
if @BannerTypeId is null
begin
  set @BannerTypeId = 1
end
/* purge vendor log */
select @SiteLogHistory = SiteLogHistory
from   Portals
where  PortalID = @DisplayPortalId
if @SiteLogHistory is not null
begin
  delete
  from   VendorLog
  where  PortalID = @DisplayPortalId
  and    datediff(day,DateTime,getdate()) > @SiteLogHistory
end
/* find number of banners */
select @RecordCounter = count(*)
from   Banners
inner join Vendors on Banners.VendorId = Vendors.VendorId
where  Banners.BannerTypeId = @BannerTypeId
and    ((Vendors.PortalId = @SelectPortalId) or (@SelectPortalId is null and Vendors.PortalId is null))
and    (Banners.Impressions > Banners.Views Or Banners.Impressions = 0)
and    (Banners.StartDate is null Or getdate() >= Banners.StartDate )
and    (Banners.EndDate is null Or getdate() <= Banners.EndDate )
if @Banners > @RecordCounter
begin
  select @Banners = @RecordCounter
end


CREATE TABLE #BannerIndex 
(
	IndexID		int IDENTITY (1, 1) NOT NULL,
	BannerID	int,
	BannerName  nvarchar(100),
    ImageFile   nvarchar(100)
)
-- INSERT into the temp table

declare @vSQL varchar(1000)
select @vSQL = 'INSERT INTO #BannerIndex (BannerID, BannerName, ImageFile) '
select @vSQL = @vSQL + 'select top ' + convert(varchar, @Banners) + ' BannerID, BannerName, ImageFile FROM Banners '
select @vSQL = @vSQL + 'inner join Vendors on Banners.VendorId = Vendors.VendorId '
If @SelectPortalId is Null
begin
select @vSQL = @vSQL + 'and    (Vendors.PortalId is null) '
end
else
begin
select @vSQL = @vSQL + 'and    (Vendors.PortalId = ' + convert(varchar, @SelectPortalId) + ')'
end

select @vSQL = @vSQL + 'and    (Banners.BannerTypeID = ' + convert(varchar, @BannerTypeID) + ') '
select @vSQL = @vSQL + 'and    (Banners.Impressions > Banners.Views Or Banners.Impressions = 0) '
select @vSQL = @vSQL + 'and    (Banners.StartDate is null Or getdate() >= Banners.StartDate ) '
select @vSQL = @vSQL + 'and    (Banners.EndDate is null Or getdate() <= Banners.EndDate )'
select @vSQL = @vSQL + ' ORDER BY NEWID()'
Execute (@vSQL)


Select * from #BannerIndex

/* update banners */
select @RecordCounter = 0
while @RecordCounter < @Banners
begin
select @RecordCounter = @RecordCounter + 1
select @BannerId = BannerID From #BannerIndex Where IndexID = @RecordCounter
  update Banners
  set    Views = Views + 1
  where  BannerId = @BannerId
  select @vendorId = VendorId
  from   Banners
  where  BannerId = @BannerId
  insert VendorLog (
    DateTime,
    PortalId,
    VendorId,
    BannerId,
    Search
  )
  values (
    getdate(),    @DisplayPortalId,
    @VendorId,
    @BannerId,
    null
  ) 
  select @StartDate = StartDate,
         @EndDate = EndDate,
         @Views = Views,
         @Impressions = Impressions
  from   Banners
  where  BannerId = @BannerId
  if @StartDate is null
    select @StartDate = getdate()
  if @Views = @Impressions
    select @EndDate = getdate()
  update Banners
  set    StartDate = @StartDate,
         EndDate = @EndDate
  where  BannerId = @BannerId
end



GO
----------------------------------------------------
-- dbo.FindVendors
----------------------------------------------------
----------------------------------------------------
-- dbo.FindVendors
----------------------------------------------------
----------------------------------------------------
-- dbo.FindVendors
----------------------------------------------------

ALTER procedure dbo.FindVendors
@DisplayPortalId  int,
@SelectPortalId   int = null,
@Search           nvarchar(200) = null
as
if @Search is not null
begin
  insert VendorSearch (
    PortalId,
    DateTime,
    Search
  )
  values (
    @DisplayPortalId,
    getdate(),
    @Search
  )
end
if @SelectPortalId is null
begin
  update Vendors
  set    Views = Views + 1
  where  VendorId in (
    select distinct Vendors.VendorId
    from Vendors
    left outer join VendorClassification on Vendors.VendorId = VendorClassification.VendorId
    left outer join Classification on VendorClassification.ClassificationId = Classification.ClassificationId
    where  PortalId is null
    and    (VendorName like '%' + @Search + '%' or KeyWords like '%' + @Search + '%' or ClassificationName like '%' + @Search + '%')
    and    Authorized = 1
  )
  insert VendorLog ( VendorId, DateTime, PortalId, BannerId, Search ) 
    select distinct Vendors.VendorId, getdate(), @DisplayPortalId, null, @Search
    from   Vendors
    left outer join VendorClassification on Vendors.VendorId = VendorClassification.VendorId
    left outer join Classification on VendorClassification.ClassificationId = Classification.ClassificationId
    where  PortalId is null
    and    (VendorName like '%' + @Search + '%' or KeyWords like '%' + @Search + '%' or ClassificationName like '%' + @Search + '%')
    and    Authorized = 1
  select distinct Vendors.VendorId,
         VendorName,
         Unit,
         Street,
         City,
         Region,
         Country,
         PostalCode,
         Telephone,
         PortalId,
         Fax,
         Email,
         Website,
         FirstName,
         LastName,
         LogoFile,
         'Feedback' = ( select sum(Value) from VendorFeedback where VendorFeedback.VendorId = Vendors.VendorId )
  from   Vendors
  left outer join VendorClassification on Vendors.VendorId = VendorClassification.VendorId
  left outer join Classification on VendorClassification.ClassificationId = Classification.ClassificationId
  where  PortalId is null
  and    (VendorName like '%' + @Search + '%' or KeyWords like '%' + @Search + '%' or ClassificationName like '%' + @Search + '%')
  and    Authorized = 1
end
else
begin
  update Vendors
  set    Views = Views + 1
  where  VendorId in (
    select distinct Vendors.VendorId
    from Vendors
    left outer join VendorClassification on Vendors.VendorId = VendorClassification.VendorId
    left outer join Classification on VendorClassification.ClassificationId = Classification.ClassificationId
    where  PortalId = @SelectPortalId
    and    (VendorName like '%' + @Search + '%' or KeyWords like '%' + @Search + '%' or ClassificationName like '%' + @Search + '%')
    and    Authorized = 1
  )
  insert VendorLog ( VendorId, DateTime, PortalId, BannerId, Search ) 
    select distinct Vendors.VendorId, getdate(), @DisplayPortalId, null, @Search
    from   Vendors
    left outer join VendorClassification on Vendors.VendorId = VendorClassification.VendorId
    left outer join Classification on VendorClassification.ClassificationId = Classification.ClassificationId
    where  PortalId = @SelectPortalId
    and    (VendorName like '%' + @Search + '%' or KeyWords like '%' + @Search + '%' or ClassificationName like '%' + @Search + '%')
    and    Authorized = 1
  select distinct Vendors.VendorId,
         VendorName,
         Unit,
         Street,
         City,
         Region,
         Country,
         PostalCode,
         Telephone,
         PortalId,
         Fax,
         Email,
         Website,
         FirstName,
         LastName,
         LogoFile,
         'Feedback' = ( select sum(Value) from VendorFeedback where VendorFeedback.VendorId = Vendors.VendorId )
  from   Vendors
  left outer join VendorClassification on Vendors.VendorId = VendorClassification.VendorId
  left outer join Classification on VendorClassification.ClassificationId = Classification.ClassificationId
  where  PortalId = @SelectPortalId
  and    (VendorName like '%' + @Search + '%' or KeyWords like '%' + @Search + '%' or ClassificationName like '%' + @Search + '%')
  and    Authorized = 1
end
return 1

GO
----------------------------------------------------
-- dbo.GetAdminModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAdminModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAdminModuleDefinition
----------------------------------------------------

ALTER procedure [dbo].[GetAdminModuleDefinition]

@Language nvarchar(5),
@ModuleDefID int
as
select ModuleDefinitions.FriendlyName,
	   ModuleDefinitions.DesktopSrc,
       ModuleDefinitions.HelpSrc,
       ModuleDefinitions.AdminOrder,
       ModuleDefinitions.EditSrc,
       ModuleDefinitions.Secure,
       ModuleDefinitions.AdminTabIcon,
       ModuleDefinitions.EditModuleIcon,
       ModuleDefinitions.IsPremium,
		'ModuleTitle' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
		'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end
  from   ModuleDefinitions
  left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
  where  ModuleDefinitions.ModuleDefID = @ModuleDefID and (ModuleDefinitions.IsAdmin = 1 or ModuleDefinitions.IsHost = 1)





GO
----------------------------------------------------
-- dbo.GetAdminModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAdminModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAdminModuleDefinitions
----------------------------------------------------

 
ALTER procedure [dbo].[GetAdminModuleDefinitions]
@Language nvarchar(5)
as
  select ModuleDefinitions.ModuleDefID,
		 ModuleDefinitions.IsAdmin,
         ModuleDefinitions.IsHost,
         ModuleDefinitions.AdminOrder,
		ModuleDefinitions.EditModuleIcon,
        ModuleDefinitions.AdminTabIcon,         
         'FriendlyName' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
         'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end
  from   ModuleDefinitions
  left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
  where  ModuleDefinitions.IsAdmin = 1 or ModuleDefinitions.IsHost = 1
  order  by ModuleDefinitions.AdminOrder


GO
----------------------------------------------------
-- dbo.GetAnnouncements
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAnnouncements
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAnnouncements
----------------------------------------------------

ALTER procedure dbo.GetAnnouncements
@ModuleID int
as
select ItemID,
       CreatedByUser,
       CreatedDate,
       Title,
       URL,
       Syndicate,
       ExpireDate,
       Description,
       ViewOrder
from   Announcements
where  ModuleID = @ModuleID
and    (ExpireDate > GetDate() or ExpireDate is null)
order by ViewOrder asc, CreatedDate desc

GO
----------------------------------------------------
-- dbo.GetAuthRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAuthRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAuthRoles
----------------------------------------------------

ALTER procedure dbo.GetAuthRoles
@PortalID    int,
@ModuleID    int
as
select Tabs.AuthorizedRoles,
       Modules.AuthorizedEditRoles
from   Modules
inner join Tabs ON Modules.TabID = Tabs.TabID
where  Modules.ModuleID = @ModuleID
and    Tabs.PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.GetAvailablelanguage
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAvailablelanguage
----------------------------------------------------
----------------------------------------------------
-- dbo.GetAvailablelanguage
----------------------------------------------------
ALTER procedure dbo.GetAvailablelanguage
as
select language,
       SettingValue 
from   languageSettings
where  SettingName = 'language'
order  by Language 
GO
----------------------------------------------------
-- dbo.GetBannerClickThrough
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBannerClickThrough
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBannerClickThrough
----------------------------------------------------

ALTER procedure dbo.GetBannerClickThrough
@BannerId int
as
update Banners
set    ClickThroughs = ClickThroughs + 1
where  BannerId = @BannerId
select URL,
       VendorId
from   Banners
where  BannerId = @BannerId

GO
----------------------------------------------------
-- dbo.GetBannerLog
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBannerLog
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBannerLog
----------------------------------------------------

ALTER procedure dbo.GetBannerLog
@BannerId  int
as
select 'LogDate' = convert(varchar,DateTime,102),
       'Views' = count(*)
from   VendorLog
where  BannerId = @BannerId
group by convert(varchar,DateTime,102)
order by LogDate desc

GO
----------------------------------------------------
-- dbo.GetBanners
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBanners
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBanners
----------------------------------------------------

ALTER procedure [dbo].[GetBanners]
@VendorId int
as
select BannerId,
       BannerName,
       BannerTypeId,
       URL,
       Impressions,
       CPM,
       Views,
       ClickThroughs,
       StartDate,
       EndDate
from   Banners
where  VendorId = @VendorId
order  by CreatedDate desc


GO
----------------------------------------------------
-- dbo.GetBannerTypes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBannerTypes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBannerTypes
----------------------------------------------------

ALTER procedure dbo.GetBannerTypes
as
select BannerTypeId,
       BannerTypeName
from   BannerTypes

GO
----------------------------------------------------
-- dbo.GetBillingFrequencyCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBillingFrequencyCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetBillingFrequencyCodes
----------------------------------------------------

ALTER procedure [dbo].[GetBillingFrequencyCodes]

@language nvarchar(5)
   
as
select *
from   CodeFrequency
where  Language = @language


GO
----------------------------------------------------
-- dbo.GetClicks
----------------------------------------------------
----------------------------------------------------
-- dbo.GetClicks
----------------------------------------------------
----------------------------------------------------
-- dbo.GetClicks
----------------------------------------------------

ALTER procedure dbo.GetClicks
@TableName nvarchar(50),
@ItemId    int
as
select DateTime,
       'FullName' = Users.FirstName + ' ' + Users.LastName
from   ClickLog
left outer join Users on ClickLog.UserId = Users.UserId
where  TableName = @TableName
and    ItemId = @ItemId
order by DateTime desc

GO
----------------------------------------------------
-- dbo.GetContacts
----------------------------------------------------
----------------------------------------------------
-- dbo.GetContacts
----------------------------------------------------
----------------------------------------------------
-- dbo.GetContacts
----------------------------------------------------

ALTER procedure dbo.GetContacts
@ModuleID int
as
select ItemID,
       CreatedDate,
       CreatedByUser,
       Name,
       Role,
       Email,
       Contact1,
       Contact2
from   Contacts
where  ModuleID = @ModuleID
order by Name

GO
----------------------------------------------------
-- dbo.GetCountryCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetCountryCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetCountryCodes
----------------------------------------------------

ALTER procedure [dbo].[GetCountryCodes]
@Language nvarchar(5)
   
as
select Code, Description
from   CodeCountry
where language = @Language
order by Description



GO
----------------------------------------------------
-- dbo.GetCurrencies
----------------------------------------------------
----------------------------------------------------
-- dbo.GetCurrencies
----------------------------------------------------
----------------------------------------------------
-- dbo.GetCurrencies
----------------------------------------------------

ALTER procedure [dbo].[GetCurrencies]
@Language nvarchar(5)
as
select Code,
       Description
from   CodeCurrency
where language = @Language


GO
----------------------------------------------------
-- dbo.GetdirectorySpaceUsed
----------------------------------------------------
----------------------------------------------------
-- dbo.GetdirectorySpaceUsed
----------------------------------------------------
----------------------------------------------------
-- dbo.GetdirectorySpaceUsed
----------------------------------------------------

ALTER procedure dbo.GetdirectorySpaceUsed
@strRoot nvarchar(100)
as
  select Size
  from   Files
  where  FileName = @strRoot

GO
----------------------------------------------------
-- dbo.GetDocuments
----------------------------------------------------
----------------------------------------------------
-- dbo.GetDocuments
----------------------------------------------------
----------------------------------------------------
-- dbo.GetDocuments
----------------------------------------------------

ALTER procedure dbo.GetDocuments
@ModuleID int,
@PortalId int
as
select ItemID,
       Title,
       URL,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Documents.CreatedDate,
       Category,
       Size,
       Syndicate
from   Documents
left outer join Users on Documents.CreatedByUser = Users.UserID
left outer join Files on Documents.URL = Files.FileName and Files.PortalId = @PortalId
where  ModuleID = @ModuleID
order by Title

GO
----------------------------------------------------
-- dbo.GetFAQs
----------------------------------------------------
----------------------------------------------------
-- dbo.GetFAQs
----------------------------------------------------
----------------------------------------------------
-- dbo.GetFAQs
----------------------------------------------------

ALTER procedure dbo.GetFAQs
@ModuleID int
as
select ItemID,
       CreatedDate,
       CreatedByUser,
       Question,
       Answer
from   FAQs
where  ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.GetFiles
----------------------------------------------------
----------------------------------------------------
-- dbo.GetFiles
----------------------------------------------------
----------------------------------------------------
-- dbo.GetFiles
----------------------------------------------------

ALTER procedure dbo.GetFiles
@PortalId   int
as
if @PortalId is null
begin
  select FileId,
         PortalId,
         FileName,
         Extension,
         Size,
         Width,
         Height,
         ContentType
  from   Files
  where  PortalId is null
  order by FileName
end
else
begin
  select FileId,
         PortalId,
         FileName,
         Extension,
         Size,
         Width,
         Height,
         ContentType
  from   Files
  where  PortalId = @PortalId
  order by FileName
end

GO
----------------------------------------------------
-- dbo.GetHostSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.GetHostSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.GetHostSetting
----------------------------------------------------

ALTER procedure dbo.GetHostSetting
@SettingName nvarchar(50)
as
select SettingValue
from   HostSettings
where  SettingName = @SettingName

GO
----------------------------------------------------
-- dbo.GetHostSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetHostSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetHostSettings
----------------------------------------------------

ALTER procedure dbo.GetHostSettings
as
select SettingName,
       SettingValue
from   HostSettings

GO
----------------------------------------------------
-- dbo.GetHtmlText
----------------------------------------------------
----------------------------------------------------
-- dbo.GetHtmlText
----------------------------------------------------
----------------------------------------------------
-- dbo.GetHtmlText
----------------------------------------------------

ALTER procedure dbo.GetHtmlText
@ModuleID int
as
select *
from   HtmlText
where  ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.GetIPNByPortal
----------------------------------------------------
----------------------------------------------------
-- dbo.GetIPNByPortal
----------------------------------------------------
ALTER procedure [dbo].[GetIPNByPortal]
@PortalID int 

as
  declare @EndDate DateTime
  select  @EndDate = max(IPNTime) from PayPalIPN where PortalId = @PortalId and PortalRenew = 1
  select PayPalID, Response, IPNTime, ItemName
  from   PayPalIPN
  where  PortalID = @PortalID
  and    PortalRenew = 1 
  and    IPNTime = @EndDate 




GO
----------------------------------------------------
-- dbo.GetIPNByRole
----------------------------------------------------
----------------------------------------------------
-- dbo.GetIPNByRole
----------------------------------------------------
ALTER procedure [dbo].[GetIPNByRole]
@RoleID int 
as
  select PayPalID, Response, IPNTime, ItemName
  from   PayPalIPN
  where  RoleID = @RoleID
  and    PortalRenew = 0



GO
----------------------------------------------------
-- dbo.GetIPNByUser
----------------------------------------------------
----------------------------------------------------
-- dbo.GetIPNByUser
----------------------------------------------------
ALTER procedure [dbo].[GetIPNByUser]
@UserID int 
as
  select PayPalID, Response, IPNTime, ItemName
  from   PayPalIPN
  where  UserID = @UserID
  and    PortalRenew = 0



GO
----------------------------------------------------
-- dbo.GetlanguageContext
----------------------------------------------------
----------------------------------------------------
-- dbo.GetlanguageContext
----------------------------------------------------
----------------------------------------------------
-- dbo.GetlanguageContext
----------------------------------------------------
ALTER procedure [dbo].[GetlanguageContext]

@language nvarchar(5)

as

select SettingName,
       SettingValue,
       Context,
       New
from   languageSettings
where  language = @language 
order  by Context


GO
----------------------------------------------------
-- dbo.GetlanguageSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetlanguageSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetlanguageSettings
----------------------------------------------------
ALTER procedure dbo.GetlanguageSettings

@language nvarchar(5)

as

select SettingName,
       SettingValue
from   languageSettings
where  language = @language 


GO
----------------------------------------------------
-- dbo.GetLinks
----------------------------------------------------
----------------------------------------------------
-- dbo.GetLinks
----------------------------------------------------
----------------------------------------------------
-- dbo.GetLinks
----------------------------------------------------

ALTER procedure dbo.GetLinks
@ModuleID int
as
select ItemID,
       CreatedByUser,
       CreatedDate,
       Title,
       Url,
       ViewOrder,
       Description,
       NewWindow
from   Links
where  ModuleID = @ModuleID
order by ViewOrder, Title

GO
----------------------------------------------------
-- dbo.GetlonglanguageSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetlonglanguageSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetlonglanguageSettings
----------------------------------------------------
ALTER procedure dbo.GetlonglanguageSettings

@language nvarchar(5),
@PortalId   int

as

if @PortalId is null
Begin
select SettingName,
       SettingValue
from   longlanguageSettings
where  language = @language and PortalId is null
order by SettingName
end
else
Begin
select SettingName,
       SettingValue
from   longlanguageSettings
where  language = @language and  PortalId = @PortalId
order by SettingName
end
GO
----------------------------------------------------
-- dbo.GetModule
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModule
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModule
----------------------------------------------------

ALTER procedure dbo.GetModule
@ModuleID int
as
select *
from   Modules
inner join ModuleDefinitions on Modules.ModuleDefId = ModuleDefinitions.ModuleDefId
where  ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.GetModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleDefinitions
----------------------------------------------------

 
ALTER procedure [dbo].[GetModuleDefinitions]
@PortalID int,
@Language nvarchar(5),
@Admin    bit = 1
as
if @Admin = 1
begin
  select ModuleDefinitions.ModuleDefID,
         'FriendlyName' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
         'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end,
         'IsPremium' = case when IsPremium = 1 then 'O' else 'N' end
  from   ModuleDefinitions
  left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
  where  IsAdmin = 0 and IsHost = 0
  and    DesktopSrc is not null
  order  by FriendlyName
end
else
begin
  select distinct(ModuleDefinitions.ModuleDefID),
         'FriendlyName' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
         'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end
  from   ModuleDefinitions
  left outer join PortalModuleDefinitions on ModuleDefinitions.ModuleDefID = PortalModuleDefinitions.ModuleDefID
  left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
  where  IsAdmin = 0 and IsHost = 0
  and    DesktopSrc is not null
  and    ( ModuleDefinitions.IsPremium = 0 or (PortalId = @PortalId and PortalModuleDefinitionId is not null))
  order  by FriendlyName
end



GO
----------------------------------------------------
-- dbo.GetModuleEvents
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleEvents
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleEvents
----------------------------------------------------

ALTER procedure [dbo].GetModuleEvents
@ModuleID int,
@StartDate datetime = null,
@EndDate datetime = null
as
declare @MaxWidth int
if @StartDate is null
begin
  select @MaxWidth = max(Width)
  from   ModuleEvents
  left outer join Files on ModuleEvents.IconFile = Files.FileName
  where  ModuleID = @ModuleID
  and    (ExpireDate > getdate() or ExpireDate is null)
  select ItemID,
         Description,
         DateTime,
         Title,
         ExpireDate,
         CreatedByUser,
         CreatedDate,
         IconFile,
         AltText,
         'MaxWidth' = @MaxWidth
  from   ModuleEvents
  where  ModuleID = @ModuleID
  and    (ExpireDate > getdate() or ExpireDate is null)
  order by DateTime
end
else
begin
  select ItemID,
         Description,
         DateTime,
         Title,
         ExpireDate,
         CreatedByUser,
         CreatedDate,
         Every,
         Period,
         IconFile,
         AltText
  from   ModuleEvents
  where  ModuleID = @ModuleID
  and    ( (Period is null and (DateTime >= @StartDate and DateTime <= @EndDate)) or Period is not null )
  order by DateTime
end

GO
----------------------------------------------------
-- dbo.GetModuleSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleSettings
----------------------------------------------------

ALTER procedure dbo.GetModuleSettings
@ModuleID int
as
select SettingName,
       SettingValue
from   ModuleSettings
where  ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.GetModuleSignup
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleSignup
----------------------------------------------------
----------------------------------------------------
-- dbo.GetModuleSignup
----------------------------------------------------

ALTER procedure dbo.GetModuleSignup
    
@ModuleDefID        int,
@ModuleTitle        NVARCHAR(256),
@TabId 		    int
as
select ModuleID
from   Modules
where  ModuleDefID = @ModuleDefID 
and ModuleTitle = @ModuleTitle  
and TabId = @TabId 

GO
----------------------------------------------------
-- dbo.GetNewlanguage
----------------------------------------------------
----------------------------------------------------
-- dbo.GetNewlanguage
----------------------------------------------------
----------------------------------------------------
-- dbo.GetNewlanguage
----------------------------------------------------
ALTER procedure [dbo].[GetNewlanguage]

@language nvarchar(5),
@SettingName nvarchar(50)


as

select SettingName,
       SettingValue,
       Context,
       New
from   languageSettings
where  language = @language and SettingName = @SettingName
order  by Context


GO
----------------------------------------------------
-- dbo.GetPortalByAlias
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalByAlias
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalByAlias
----------------------------------------------------

ALTER procedure dbo.GetPortalByAlias
@PortalAlias nvarchar(200)
as
declare @PortalID int
declare @TempAlias Nvarchar(200)
select @PortalID = null
select @PortalID = min(PortalID)
from   Portals
where  PortalAlias like '%' + @PortalAlias + '%'
if @PortalID is null
begin
select @PortalID = min(PortalID)
from   Portals
where  PortalAlias like '%.default%'
if @PortalID is not null
begin
  select @TempAlias = PortalAlias
  from   Portals
  where  PortalID = @PortalID
  select @PortalAlias = @PortalAlias + ',' + @TempAlias
  update Portals
  set    PortalAlias = @PortalAlias
  where  PortalID = @PortalID
end
end
select 'PortalID' = @PortalID
GO
----------------------------------------------------
-- dbo.GetPortalByTab
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalByTab
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalByTab
----------------------------------------------------

ALTER procedure dbo.GetPortalByTab
@TabID int,
@PortalAlias nvarchar(200)
 
as
declare @PortalID int
select @PortalID = -1
select @PortalID = PortalID
from   Tabs
where  TabID = @TabID
if @PortalID is null /* SuperTab */
begin
  select 'PortalAlias' = @PortalAlias
end
else
begin
  select PortalAlias
  from   Portals
  inner join Tabs on Portals.PortalID = Tabs.PortalID
  where  TabID = @TabID
  and    PortalAlias like '%' + @PortalAlias + '%'
end

GO
----------------------------------------------------
-- dbo.GetPortalModuleDefinitionFee
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalModuleDefinitionFee
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalModuleDefinitionFee
----------------------------------------------------

ALTER procedure dbo.GetPortalModuleDefinitionFee
@PortalID int
as
select 'HostFee' = sum(HostFee)
from   PortalModuleDefinitions
where  PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.GetPortalModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalModuleDefinitions
----------------------------------------------------

ALTER procedure [dbo].[GetPortalModuleDefinitions]
@PortalID int,
@Language nvarchar(5)
as
select distinct(ModuleDefinitions.ModuleDefID),
       'Subscribed' = case when (PortalId = @PortalID and PortalModuleDefinitionId is not null) then 1 else 0 end,
       'FriendlyName' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
       'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end,
       PortalModuleDefinitions.HostFee
from   ModuleDefinitions
left outer join PortalModuleDefinitions on ModuleDefinitions.ModuleDefID = PortalModuleDefinitions.ModuleDefID
left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
where  ModuleDefinitions.IsPremium = 1
order  by FriendlyName


GO
----------------------------------------------------
-- dbo.GetPortalRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalRoles
----------------------------------------------------

ALTER procedure [dbo].[GetPortalRoles]
@PortalID     int,
@Language     nvarchar(5)
as
select Roles.RoleID,
       'RoleName' = case when R1.RoleName <> '' then R1.RoleName else Roles.RoleName end,
       'Description' = case when R1.Description <> '' then R1.Description else Roles.Description end,
       'ServiceFee' = case when convert(int,Roles.ServiceFee) <> 0 then Roles.ServiceFee else null end,
       'BillingPeriod' = case when convert(int,Roles.ServiceFee) <> 0 then Roles.BillingPeriod else null end,
       'BillingFrequency' = case when convert(int,Roles.ServiceFee) <> 0 then C1.Description else '' end,
       'TrialFee' = case when Roles.TrialFrequency <> 'N' then Roles.TrialFee else null end,
       'TrialPeriod' = case when Roles.TrialFrequency <> 'N' then Roles.TrialPeriod else null end,
       'TrialFrequency' = case when Roles.TrialFrequency <> 'N' then C2.Description else '' end,
       'IsPublic' = case when Roles.IsPublic = 1 then 'O' else 'N' end,
       'AutoAssignment' = case when Roles.AutoAssignment = 1 then 'O' else 'N' end
from   Roles
left outer join CodeFrequency C1 on Roles.BillingFrequency = C1.Code and C1.Language = @Language
left outer join CodeFrequency C2 on Roles.TrialFrequency = C2.Code and C2.Language = @Language
left outer join RolesName R1 on Roles.RoleID = R1.RoleID and R1.Language = @Language
where  PortalID = @PortalID
or     PortalID is null
order by Roles.RoleName




GO
----------------------------------------------------
-- dbo.GetPortals
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortals
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortals
----------------------------------------------------

ALTER procedure dbo.GetPortals
as
select Portals.*,
       'Users' = ( select count(*) from UserPortals where UserPortals.PortalId = Portals.PortalId )
from   Portals
order by PortalName

GO
----------------------------------------------------
-- dbo.GetPortalSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalSettings
----------------------------------------------------

ALTER procedure [dbo].[GetPortalSettings]

@PortalAlias nvarchar(200),
@TabID       int,
@Language    nvarchar(5)

as

declare @PortalID int
declare @VerifyTabID int

/* convert PortalAlias to PortalID */

select @PortalID = null

select @PortalID = PortalID
from   Portals
where  PortalAlias = @PortalAlias

if @PortalID is null
begin
  select @PortalID = min(PortalID)
  from   Portals
  where  PortalAlias like '%' + @PortalAlias + '%' /* multiple alias may be specified seperated by commas */
end

select @VerifyTabID = null

/* verify the TabID belongs to the portal */
if @TabID <> 0
begin
  select @VerifyTabID = Tabs.TabID
  from   Tabs
  left outer join Portals on Tabs.PortalID = Portals.PortalID
  where  TabId = @TabId
  and    ( Portals.PortalID = @PortalID or Tabs.PortalId is null )
end
else
begin
  select @VerifyTabID = null
end

/* get the TabID if none provided */
if @VerifyTabID is null
begin
  select @TabID = Tabs.TabID
  from Tabs
  inner join Portals on Tabs.PortalID = Portals.PortalID
  where Portals.PortalID = @PortalID
  and Tabs.TabOrder = 1  
end

/* First, get Out Params */
select Portals.PortalAlias,
       Portals.PortalID,
       Portals.GUID,
       Portals.PortalName,
       Portals.LogoFile,
       Portals.FooterText,
       Portals.ExpiryDate,
       Portals.UserRegistration,
       Portals.BannerAdvertising,
       Portals.Currency,
       Portals.AdministratorId,
       Users.Email,
       Portals.HostFee,
       Portals.HostSpace,
       Portals.AdministratorRoleId,
       Portals.RegisteredRoleId,
       Portals.Description,
       Portals.KeyWords,
       Portals.BackgroundFile,
       Portals.SiteLogHistory,
       Portals.TimeZone,
       'SuperUserId' = ( select UserID from Users where IsSuperUser = 1 ),
       Tabs.TabID,
       Tabs.TabOrder,
       'TabName' = case when R1.TabName <> '' then R1.TabName else Tabs.TabName end,
       Tabs.FriendlyTabName,
       Tabs.css,
       Tabs.skin,
       Tabs.AuthorizedRoles,
       Tabs.AdministratorRoles,
       Tabs.ShowFriendly,
       Tabs.LeftPaneWidth,
       Tabs.RightPaneWidth,
       Tabs.IsVisible,
       Tabs.DisableLink,
       'ParentId' = isnull(Tabs.ParentID,-1),
       Tabs.Level,
       Tabs.IconFile,
       'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId) then 'true' else 'false' end
from   Tabs
inner join Portals on Portals.PortalID = @PortalID
inner join Users on Portals.AdministratorId = Users.UserId
left outer join TabsName R1 on Tabs.TabID = R1.TabID and R1.Language = @Language
where  Tabs.TabID = @TabID

/* Then, get the DataTable of module info */
select Modules.*, ModuleDefinitions.*
from   Modules
inner join ModuleDefinitions on Modules.ModuleDefID = ModuleDefinitions.ModuleDefID
inner join Tabs on Modules.TabID = Tabs.TabID
where   (Modules.Language = @Language or Modules.Language = '' or Modules.Language is null) and
 (Modules.TabID = @TabID  or    (Modules.AllTabs = 1 and Tabs.PortalID = @PortalID))
order by ModuleOrder, ModuleID



GO
----------------------------------------------------
-- dbo.GetPortalSpaceUsed
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalSpaceUsed
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalSpaceUsed
----------------------------------------------------

ALTER procedure dbo.GetPortalSpaceUsed
@PortalId int
as
if @PortalId is null
begin
  select 'SpaceUsed' = sum(Size)
  from   Files
  where  PortalId is null
end
else
begin
  select 'SpaceUsed' = sum(Size)
  from   Files
  where  PortalId = @PortalId
end

GO
----------------------------------------------------
-- dbo.GetPortalTabs
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalTabs
----------------------------------------------------
----------------------------------------------------
-- dbo.GetPortalTabs /* Get Tabs list */
----------------------------------------------------

ALTER procedure [dbo].[GetPortalTabs]
@PortalID   int,
@Language    nvarchar(5)
as

select 'TabName' = case when R1.TabName <> '' then R1.TabName else Tabs.TabName end,
       FriendlyTabName,
       ShowFriendly,
       AuthorizedRoles,
       AdministratorRoles,
       Tabs.TabID,
       TabOrder,
       IsVisible,
       DisableLink,
       'ParentId' = isnull(Tabs.ParentID,-1),
       Tabs.Level,
       Tabs.IconFile,
       'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId) then 'true' else 'false' end
from   Tabs
left outer join TabsName R1 on Tabs.TabID = R1.TabID and R1.Language = @Language
where  Tabs.PortalID = @PortalId
order  by TabOrder, TabName


GO
----------------------------------------------------
-- dbo.GetProcessorCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetProcessorCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetProcessorCodes
----------------------------------------------------

ALTER procedure dbo.GetProcessorCodes
as
select Processor,
       URL
from   CodeProcessor
order by Processor

GO
----------------------------------------------------
-- dbo.GetRegionCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetRegionCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetRegionCodes
----------------------------------------------------

ALTER procedure [dbo].[GetRegionCodes]
    
@Country char(2),
@Language nvarchar(5)
as
select Code, Description
from   CodeRegion
where  Country = @Country and language = @Language
order by Description



GO
----------------------------------------------------
-- dbo.GetRoleMembership
----------------------------------------------------
----------------------------------------------------
-- dbo.GetRoleMembership
----------------------------------------------------
----------------------------------------------------
-- dbo.GetRoleMembership
----------------------------------------------------
ALTER procedure [dbo].[GetRoleMembership]
    
@PortalId int,
@Language     nvarchar(5),
@RoleId   int = null,
@UserId   int = null

as

if @RoleId is null
begin
  select UserRoles.UserRoleID,
         UserRoles.UserId,
         'FullName' =  Users.LastName + ' ' + Users.FirstName,
         Users.Email,
         Users.UserName,
         UserRoles.RoleId,
         'RoleName' = case when R1.RoleName <> '' then R1.RoleName else Roles.RoleName end,
         UserRoles.ExpiryDate
  from   UserRoles
  inner join Users On Users.UserId = UserRoles.UserId
  inner join Roles On Roles.RoleId = UserRoles.RoleId
  inner join UserPortals On Users.UserId = UserPortals.UserId and UserPortals.PortalID = @PortalID
  left outer join RolesName R1 on Roles.RoleID = R1.RoleID and R1.Language = @Language
  where  Roles.PortalId = @PortalId
  and    UserRoles.UserId = @UserId
  and    UserPortals.Authorized = 1
end
else
begin
  select UserRoles.UserRoleID,
         UserRoles.UserId,
         'FullName' =  Users.LastName + ' ' + Users.FirstName ,
         Users.Email,
	 Users.UserName,
         UserRoles.RoleId,
         'RoleName' = case when R1.RoleName <> '' then R1.RoleName else Roles.RoleName end,
         UserRoles.ExpiryDate
  from   UserRoles
  inner join Users On Users.UserId = UserRoles.UserId
  inner join Roles On Roles.RoleId = UserRoles.RoleId
  inner join UserPortals On Users.UserId = UserPortals.UserId and UserPortals.PortalID = @PortalID
  left outer join RolesName R1 on Roles.RoleID = R1.RoleID and R1.Language = @Language  
where  Roles.PortalId = @PortalId
  and    UserRoles.RoleId = @RoleId
  and    UserPortals.Authorized = 1
  order  by 'FullName'
end

GO
----------------------------------------------------
-- dbo.GetRolesByUser
----------------------------------------------------
----------------------------------------------------
-- dbo.GetRolesByUser
----------------------------------------------------
----------------------------------------------------
-- dbo.GetRolesByUser
----------------------------------------------------

ALTER procedure dbo.GetRolesByUser
    
@UserId        int,
@PortalId      int
as
select Roles.RoleName,
       Roles.RoleID
from   UserRoles
inner join Users on UserRoles.UserID = Users.UserID
inner join Roles on UserRoles.RoleID = Roles.RoleID
where  Users.UserId = @UserId
and    Roles.PortalId = @PortalId
and    (ExpiryDate >= getdate() or ExpiryDate is null)

GO
----------------------------------------------------
-- dbo.GetSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSearch
----------------------------------------------------

ALTER procedure dbo.GetSearch
@ModuleID int
as
select SearchId,
       TableName,
       TitleField,
       DescriptionField,
       CreatedDateField,
       CreatedByUserField
from   Search
where  ModuleID = @ModuleID
order by TableName

GO
----------------------------------------------------
-- dbo.GetServices
----------------------------------------------------
----------------------------------------------------
-- dbo.GetServices
----------------------------------------------------
----------------------------------------------------
-- dbo.GetServices
----------------------------------------------------

ALTER procedure [dbo].[GetServices]
    
@PortalId  int,
@Language  nvarchar(5),
@UserId    int = null

as
select Roles.RoleID,
       'RoleName' = case when R1.RoleName <> '' then R1.RoleName else Roles.RoleName end,
       'Description' = case when R1.Description <> '' then R1.Description else Roles.Description end,
       'ServiceFee' = case when convert(int,Roles.ServiceFee) <> 0 then Roles.ServiceFee else null end,
       'BillingPeriod' = case when convert(int,Roles.ServiceFee) <> 0 then Roles.BillingPeriod else null end,
       'BillingFrequency' = case when convert(int,Roles.ServiceFee) <> 0 then C1.Description else '' end,
       'TrialFee' = case when Roles.TrialFrequency <> 'N' then Roles.TrialFee else null end,
       'TrialPeriod' = case when Roles.TrialFrequency <> 'N' then Roles.TrialPeriod else null end,
       'TrialFrequency' = case when Roles.TrialFrequency <> 'N' then C2.Description else '' end,
       'ExpiryDate' = ( select ExpiryDate from UserRoles where UserRoles.RoleId = Roles.RoleID and UserRoles.UserID = @UserID ),
       'Subscribed' = ( select UserRoleId from UserRoles where UserRoles.RoleId = Roles.RoleID and UserRoles.UserID = @UserID )
from   Roles
inner join CodeFrequency C1 on Roles.BillingFrequency = C1.Code and C1.Language = @Language
left outer join CodeFrequency C2 on Roles.TrialFrequency = C2.Code and C2.Language = @Language
left outer join RolesName R1 on Roles.RoleID = R1.RoleID and R1.Language = @Language
where  Roles.PortalId = @PortalId
and    Roles.IsPublic = 1



GO
----------------------------------------------------
-- dbo.GetSessions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSessions
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSessions
----------------------------------------------------

/****** Object:  Stored Procedure dbo.GetSessions    Script Date: 9/10/2003 11:13:45 PM ******/
ALTER procedure GetSessions
@PortalId       int
as
SELECT     SessionTracker.ItemId, SessionTracker.PortalId, SessionTracker.SessionId, SessionTracker.UserId, SessionTracker.Location, SessionTracker.CreationDate, 
                      SessionTracker.TabId, SessionTracker.LastActiveDate, SessionTracker.IP, SessionTracker.Browser, Users.Username
FROM         SessionTracker LEFT OUTER JOIN
                      Users ON SessionTracker.UserId = Users.UserID
WHERE    SessionTracker.PortalId = @PortalId 
ORDER BY SessionTracker.CreationDate

GO
----------------------------------------------------
-- dbo.GetSingleAnnouncement
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleAnnouncement
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleAnnouncement
----------------------------------------------------

ALTER procedure dbo.GetSingleAnnouncement
@ItemID   int,
@ModuleId int
as
select Title,
       URL,
       Syndicate,
       ExpireDate,
       Description,
       Clicks,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Announcements.CreatedDate,
       ViewOrder
from   Announcements
left outer join Users on Announcements.CreatedByUser = Users.UserID
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSingleArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleArticlesPlus
----------------------------------------------------

/****** Object:  Stored Procedure dbo.GetSingleArticlesPlus    Script Date: 10/24/2003 10:26:39 AM ******/
ALTER PROCEDURE dbo.GetSingleArticlesPlus
@ArticlesPlusID   int,
@ModuleId int,
@Type char(2)
as
-- Type is not used - it is included as a byproduct of the command generator
SELECT     ArticlesPlus.APSyndicate, ArticlesPlus.APExpireDate, ArticlesPlus.APDescription, ArticlesPlus.APTitle, 
                      ArticlesPlus.APImageName, ArticlesPlus.APImageSize, ArticlesPlus.APImageAlign, ArticlesPlus.APAuthor, ArticlesPlus.APAuthorized, 
                      Users.FirstName + ' ' + Users.LastName AS CreatedByUser, ArticlesPlus.CreatedDate, ArticlesPlus.APNavigateURL, ArticlesPlus.ArticlesPlusID, 
                      ArticlesPlus.APNewWindow, ArticlesPlus.APImageWidth, ArticlesPlus.APImageHeight, ArticlesPlus.APPublishDate, isnull(datalength(ArticlesPlus.APArticle),0) as APArticleLength, ArticlesPlus.APArticle 
FROM         ArticlesPlus LEFT OUTER JOIN
                      Users ON ArticlesPlus.CreatedByUserID = Users.UserID
WHERE     (ArticlesPlus.ArticlesPlusID = @ArticlesPlusID)

GO
----------------------------------------------------
-- dbo.GetSingleBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleBanner
----------------------------------------------------

ALTER procedure dbo.GetSingleBanner
@BannerId int,
@VendorId int
as
select BannerId,
       VendorId,
       ImageFile,
       BannerName,
       URL,
       Impressions,
       CPM,
       Views,
       ClickThroughs,
       StartDate,
       EndDate,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Banners.CreatedDate,
       BannerTypeId       
from   Banners
left outer join Users on Banners.CreatedByUser = Users.UserID
where  BannerId = @BannerId
and    vendorId = @VendorId

GO
----------------------------------------------------
-- dbo.GetSingleContact
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleContact
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleContact
----------------------------------------------------

ALTER procedure dbo.GetSingleContact
@ItemID   int,
@ModuleId int
as
select Name,
       Role,
       Contacts.Email,
       Contact1,
       Contact2,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Contacts.CreatedDate
from   Contacts
left outer join Users on Contacts.CreatedByUser = Users.UserID
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSingleCountry
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleCountry
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleCountry
----------------------------------------------------

ALTER procedure [dbo].[GetSingleCountry]
@Language nvarchar(5), 
@Code        char(2) = null,
@Description varchar(100) = null
as
if @Code is null
begin
  select 'Country' = Code
  from   CodeCountry
  where  Description = @Description and Language = @Language
end
else
begin
  select 'Country' = Description
  from   CodeCountry
  where  Code = @Code and Language = @Language
end


GO
----------------------------------------------------
-- dbo.GetSingleDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleDocument
----------------------------------------------------

ALTER procedure dbo.GetSingleDocument
@ItemID   int,
@ModuleId int
as
select Title,
       URL,
       Category,
       Syndicate,
       Clicks,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Documents.CreatedDate
from   Documents
left outer join Users on Documents.CreatedByUser = Users.UserID
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSingleFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleFAQ
----------------------------------------------------

ALTER procedure dbo.GetSingleFAQ
@ItemID   int,
@ModuleId int
as
select ItemID,
       ModuleID,
       Question,
       Answer,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       FAQs.CreatedDate
from   FAQs
left outer join Users on FAQs.CreatedByUser = Users.UserID
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSingleFile
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleFile
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleFile
----------------------------------------------------

ALTER procedure dbo.GetSingleFile
@FileName  nvarchar(100),
@PortalId  int
as
if @PortalId is null
begin
  select FileName,
         Extension,
         Size,
         Width,
         Height,
         ContentType
  from   Files
  where  FileName = @FileName
  and    PortalId is null
end
else
begin
  select FileName,
         Extension,
         Size,
         Width,
         Height,
         ContentType
  from   Files
  where  FileName = @FileName
  and    PortalId = @PortalId
end

GO
----------------------------------------------------
-- dbo.GetSingleLink
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleLink
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleLink
----------------------------------------------------

ALTER procedure dbo.GetSingleLink
@ItemID   int,
@ModuleId int
as
select Title,
       Url,
       AlternateUrl,
       ViewOrder,
       Description,
       NewWindow,
       Clicks,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Links.CreatedDate
from   Links
left outer join Users on Links.CreatedByUser = Users.UserID
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSinglelonglanguageSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSinglelonglanguageSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSinglelonglanguageSettings
----------------------------------------------------
ALTER procedure dbo.GetSinglelonglanguageSettings
@language nvarchar(5),
@SettingName nvarchar(50),
@PortalId   int

as
if @PortalId is null
begin
select SettingName,
       SettingValue
from   longlanguageSettings
where  language = @language and SettingName = @SettingName and PortalId is null
end
else
begin
select SettingName,
       SettingValue
from   longlanguageSettings
where  language = @language and SettingName = @SettingName and  PortalId = @PortalId
end
GO
----------------------------------------------------
-- dbo.GetSingleMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleMessage
----------------------------------------------------

ALTER procedure dbo.GetSingleMessage
@ItemID   int,
@ModuleId int
as
select ItemID,
       Title,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Discussion.CreatedDate,
       Body,
       DisplayOrder
from   Discussion
left outer join Users on Discussion.CreatedByUser = Users.UserID
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSingleModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleModuleDefinition
----------------------------------------------------

ALTER procedure [dbo].[GetSingleModuleDefinition]

@Language nvarchar(5),
@ModuleDefID int
as
select ModuleDefinitions.DesktopSrc,
       ModuleDefinitions.HelpSrc,
       ModuleDefinitions.AdminOrder,
       ModuleDefinitions.EditSrc,
       ModuleDefinitions.Secure,
       ModuleDefinitions.EditModuleIcon,
       ModuleDefinitions.IsPremium,
		'Name' = ModuleDefinitions.FriendlyName,
		'FriendlyName' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
		'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end
  from   ModuleDefinitions
  left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
  where  ModuleDefinitions.ModuleDefID = @ModuleDefID




GO
----------------------------------------------------
-- dbo.GetSingleModuleDefinitionByName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleModuleDefinitionByName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleModuleDefinitionByName
----------------------------------------------------

ALTER procedure [dbo].[GetSingleModuleDefinitionByName]
@Language nvarchar(5),
@FriendlyName nvarchar(128)
as
select
  ModuleDefinitions.ModuleDefID,
  ModuleDefinitions.EditSrc,
  ModuleDefinitions.Secure,
  ModuleDefinitions.EditModuleIcon,
  ModuleDefinitions.FriendlyName,
  'ModuleTitle' = case when M1.FriendlyName <> '' then M1.FriendlyName else ModuleDefinitions.FriendlyName end,
  'Description'  = case when M1.Description <> '' then M1.Description else ModuleDefinitions.Description end
  from   ModuleDefinitions
  left outer join ModuleDefinitionsNames M1 on ModuleDefinitions.ModuleDefID = M1.ModuleDefID and M1.Language = @Language
  where  ModuleDefinitions.FriendlyName = @FriendlyName








GO
----------------------------------------------------
-- dbo.GetSingleModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleModuleEvent
----------------------------------------------------

ALTER procedure [dbo].GetSingleModuleEvent
@ItemID   int,
@ModuleId int
as
select ItemID,
       Description,
       DateTime,
       Title,
       ExpireDate,
       'CreatedByUser' = FirstName + ' ' + LastName,
       ModuleEvents.CreatedDate,
       Every,
       Period,
       IconFile,
       AltText
from   ModuleEvents
left outer join Users on ModuleEvents.CreatedByUser = Users.UserId
where  ItemID = @ItemID
and    ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSinglePortal
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSinglePortal
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSinglePortal
----------------------------------------------------

ALTER procedure dbo.GetSinglePortal
@PortalID  int
as
select *
from   Portals
where  PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.GetSingleRegion
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleRegion
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleRegion
----------------------------------------------------

ALTER procedure [dbo].[GetSingleRegion]
@Language nvarchar(5),
@Code        char(2) = null,
@Description varchar(100) = null
as
if @Code is null
begin
  select 'Region' = Code
  from   CodeRegion
  where  Description = @Description and language = @Language
end
else
begin
  select 'Region' = Description
  from   CodeRegion
  where  Code = @Code and language = @Language
end


GO
----------------------------------------------------
-- dbo.GetSingleRole
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleRole
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleRole
----------------------------------------------------

ALTER procedure [dbo].[GetSingleRole]
@RoleID   int,
@Language     nvarchar(5)
as
select Roles.RoleId,
       PortalId,
       'RoleName' = case when R1.RoleName <> '' then R1.RoleName else Roles.RoleName end,
       'Description' = case when R1.Description <> '' then R1.Description else Roles.Description end,
       ServiceFee,
       BillingPeriod,
       BillingFrequency,
	   'BillingFrequencyName' = C1.Description,
       TrialFee,
       TrialPeriod,
       TrialFrequency,
       IsPublic,
       AutoAssignment
from   Roles
left outer join CodeFrequency C1 on Roles.BillingFrequency = C1.Code and C1.Language = @Language
left outer join RolesName R1 on Roles.RoleID = R1.RoleID and R1.Language = @Language
where  Roles.RoleID = @RoleID


GO
----------------------------------------------------
-- dbo.GetSingleSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleSearch
----------------------------------------------------

ALTER procedure dbo.GetSingleSearch
@SearchID int,
@ModuleId int
as
select TableName,
       TitleField,
       DescriptionField,
       CreatedDateField,
       CreatedByUserField
from   Search
where  SearchId = @SearchId
and    ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.GetSingleUser
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUser
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUser
----------------------------------------------------

ALTER procedure dbo.GetSingleUser
@PortalId int,
@UserId int
as
select Users.UserID,
       Users.Username,
       Users.Password,
       Users.Email,
       'FullName' = Users.FirstName + ' ' + Users.LastName,
       Users.FirstName,
       Users.LastName,
       Users.Unit,
       Users.Street,
       Users.City,
       Users.Region,
       Users.PostalCode,
       Users.Country,
       Users.Telephone,
       Users.IsSuperUser,
       UserPortals.Authorized,
       UserPortals.CreatedDate,
       UserPortals.LastLoginDate
from   Users
left outer join UserPortals on Users.UserId = UserPortals.UserId
where  Users.UserId = @UserId
and    (UserPortals.PortalId = @PortalId or Users.IsSuperUser = 1)

GO
----------------------------------------------------
-- dbo.GetSingleUserByUsername
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserByUsername
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserByUsername
----------------------------------------------------

ALTER procedure dbo.GetSingleUserByUsername
@PortalID int,
@Username nvarchar(100)
as
 
select Users.UserId,
       Users.Username,
       Users.Password,
       Users.Email,
       'FullName' = Users.FirstName + ' ' + Users.LastName,
       Users.FirstName,
       Users.LastName,
       Users.Unit,
       Users.Street,
       Users.City,
       Users.Region,
       Users.PostalCode,
       Users.Country,
       Users.Telephone,
       Users.IsSuperUser,
       UserPortals.Authorized,
       UserPortals.CreatedDate,
       UserPortals.LastLoginDate
from   Users
left outer join UserPortals on Users.UserId = UserPortals.UserId
where  username = @Username
and    (UserPortals.PortalId = @PortalId or Users.IsSuperUser = 1)

GO
----------------------------------------------------
-- dbo.GetSingleUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserDefinedField
----------------------------------------------------

ALTER procedure dbo.GetSingleUserDefinedField
@UserDefinedFieldId  int
as
select ModuleId,
       FieldTitle,
       Visible,
       FieldOrder
from   UserDefinedFields
where  UserDefinedFieldId = @UserDefinedFieldId

GO
----------------------------------------------------
-- dbo.GetSingleUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserDefinedRow
----------------------------------------------------

ALTER procedure dbo.GetSingleUserDefinedRow
@UserDefinedRowID   int,
@ModuleId           int
as
select UserDefinedFields.FieldTitle,
       UserDefinedData.FieldValue
from   UserDefinedData
inner join UserDefinedFields on UserDefinedData.UserDefinedFieldId = UserDefinedFields.UserDefinedFieldId
where  UserDefinedData.UserDefinedRowID = @UserDefinedRowID
and    UserDefinedFields.ModuleId = @ModuleId

GO
----------------------------------------------------
-- dbo.GetSingleUserRole
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserRole
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleUserRole
----------------------------------------------------

ALTER procedure dbo.GetSingleUserRole
    
@UserId        int,
@RoleId        int,
@PortalId      int
as
select UserRoles.UserID,
       UserRoles.RoleID
from   UserRoles
inner join Roles on UserRoles.RoleID = Roles.RoleID
where  UserRoles.UserId = @UserId
and    UserRoles.RoleId = @RoleId
and    Roles.PortalId = @PortalId
and    (UserRoles.ExpiryDate >= getdate() or UserRoles.ExpiryDate is null)

GO
----------------------------------------------------
-- dbo.GetSingleVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleVendor
----------------------------------------------------

ALTER procedure dbo.GetSingleVendor
@VendorID int
as
select Vendors.VendorName, 
       Vendors.Unit, 
       Vendors.Street, 
       Vendors.City, 
       Vendors.Region, 
       Vendors.Country, 
       Vendors.PostalCode, 
       Vendors.Telephone,
       Vendors.Fax,
       Vendors.Email,
       Vendors.Website,
       Vendors.FirstName,
       Vendors.LastName,
       Vendors.ClickThroughs,
       Vendors.Views,
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Vendors.CreatedDate,
       Vendors.LogoFile,
       Vendors.KeyWords,
       Vendors.Authorized
from   Vendors
left outer join Users on Vendors.CreatedByUser = Users.UserID
where  VendorID = @VendorID

GO
----------------------------------------------------
-- dbo.GetSingleVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSingleVendorFeedback
----------------------------------------------------

ALTER procedure dbo.GetSingleVendorFeedback
@VendorId  int,
@UserId    int
as
select VendorFeedbackId,
       VendorId,
       UserId,
       Date,
       Comment,
       Value
from   VendorFeedback
where  VendorId = @VendorId
and    UserId = @UserId

GO
----------------------------------------------------
-- dbo.GetSiteLog
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteLog
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteLog
----------------------------------------------------

ALTER procedure [dbo].[GetSiteLog]

@PortalId   int,
@PortalAlias nvarchar(50),
@ReportType int = null,
@StartDate  datetime = null,
@EndDate    datetime = null

as

set language french

DECLARE @TempTimeDiff int
EXECUTE GetTimeDiff 0, @PortalID, @TimeDiff  = @TempTimeDiff   OUTPUT

if @StartDate is null
  select @StartDate = min(DateTime) from SiteLog where PortalId = @PortalId
  else
  Set @StartDate = DateAdd(minute, -(@TempTimeDiff), @StartDate)

if @EndDate is null
  select @EndDate = max(DateTime) from SiteLog where PortalId = @PortalId
  else
  Set @EndDate = DateAdd(minute, -(@TempTimeDiff), @EndDate)

if @ReportType = 1 /* page views per day */
begin
  select 'Date' = convert(varchar,DateTime,102),
         'Vues' = count(*),
         'Visiteurs' = count(distinct SiteLog.UserHostAddress),
         'Usagers' = count(distinct SiteLog.UserId)
  from   SiteLog
  where  PortalId = @PortalId
  and   SiteLog.DateTime between @StartDate and @EndDate
  group by convert(varchar,DateTime,102)
  order by Date desc
end
else
begin
  if @ReportType = 2 /* detailed site log */
  begin
    select 'Quand' =  DateAdd(minute, @TempTimeDiff, SiteLog.DateTime) ,
           'Nom' =
	      case
                when SiteLog.UserId is null then null
                else Users.FirstName + ' ' + Users.LastName
              end,
           'RenvoiDe' =
             case
               when SiteLog.Referrer like '%' + @PortalAlias + '%' then null
               else SiteLog.Referrer
             end,
           'Fureteur' =
             case
               when SiteLog.UserAgent like '%Opera%' then 'Opera'	
               when SiteLog.UserAgent like '%MSIE 1%' then 'Internet Explorer 1'
               when SiteLog.UserAgent like '%MSIE 2%' then 'Internet Explorer 2'
               when SiteLog.UserAgent like '%MSIE 3%' then 'Internet Explorer 3'
               when SiteLog.UserAgent like '%MSIE 4%' then 'Internet Explorer 4'
               when SiteLog.UserAgent like '%MSIE 5%' then 'Internet Explorer 5'
               when SiteLog.UserAgent like '%MSIE 6%' then 'Internet Explorer 6'
               when SiteLog.UserAgent like '%MSIE 7%' then 'Internet Explorer 7'
               when SiteLog.UserAgent like '%MSIE%' then 'Internet Explorer'
               when SiteLog.UserAgent like '%Firefox/1%' then 'Firefox 1'
               when SiteLog.UserAgent like '%Firefox/2%' then 'Firefox 2'
              when SiteLog.UserAgent like '%Firefox%' then 'Firefox'
              when SiteLog.UserAgent like '%Mozilla/1%' then 'Netscape Navigator 1'
              when SiteLog.UserAgent like '%Mozilla/2%' then 'Netscape Navigator 2'
              when SiteLog.UserAgent like '%Mozilla/3%' then 'Netscape Navigator 3'
              when SiteLog.UserAgent like '%Mozilla/4%' then 'Netscape Navigator 4'
              when SiteLog.UserAgent like '%Mozilla/5%' then 'Netscape Navigator 6+'
               else SiteLog.UserAgent
             end,
             'AdresseIP' = SiteLog.UserHostAddress,
             'Page' = Tabs.TabName
    from SiteLog
    left outer join Users on SiteLog.UserId = Users.UserId
    left outer join Tabs on SiteLog.TabId = Tabs.TabId
    where SiteLog.PortalId = @PortalId
    and   SiteLog.DateTime between @StartDate and @EndDate
    order by SiteLog.DateTime desc
  end
  else
  begin
    if @ReportType = 3 /* user frequency */
    begin
      select 'Nom' = Users.FirstName + ' ' + Users.LastName,
             'Requêtes' = count(*),
             'DernièreRequête' = DateAdd(minute, @TempTimeDiff, max(DateTime)) 
      from   SiteLog
      inner join Users on SiteLog.UserId = Users.UserId
      where  PortalID = @PortalId
      and   SiteLog.DateTime between @StartDate and @EndDate
      and    SiteLog.UserId is not null
group by Users.FirstName + ' ' + Users.LastName
      order by Requêtes desc
    end
    else
    begin
      if @ReportType = 4 /* site referrals */
      begin
        select 'RenvoiDe' = Referrer,
               'Requêtes' = count(*),
               'DernièreRequête' = DateAdd(minute, @TempTimeDiff, max(DateTime))
        from   SiteLog
        where  SiteLog.PortalID = @PortalId
        and   SiteLog.DateTime between @StartDate and @EndDate
        and    Referrer is not null
        and    Referrer not like '%' + @PortalAlias + '%'
        group by Referrer
        order by Requêtes desc
      end
      else
      begin
        if @ReportType = 5 /* user agents */
        begin
          select'Fureteur' =
                   case
               when SiteLog.UserAgent like '%Opera%' then 'Opera'	
               when SiteLog.UserAgent like '%MSIE 1%' then 'Internet Explorer 1'
               when SiteLog.UserAgent like '%MSIE 2%' then 'Internet Explorer 2'
               when SiteLog.UserAgent like '%MSIE 3%' then 'Internet Explorer 3'
               when SiteLog.UserAgent like '%MSIE 4%' then 'Internet Explorer 4'
               when SiteLog.UserAgent like '%MSIE 5%' then 'Internet Explorer 5'
               when SiteLog.UserAgent like '%MSIE 6%' then 'Internet Explorer 6'
               when SiteLog.UserAgent like '%MSIE 7%' then 'Internet Explorer 7'
               when SiteLog.UserAgent like '%MSIE%' then 'Internet Explorer'
               when SiteLog.UserAgent like '%Firefox/1%' then 'Firefox 1'
               when SiteLog.UserAgent like '%Firefox/2%' then 'Firefox 2'
              when SiteLog.UserAgent like '%Firefox%' then 'Firefox'
              when SiteLog.UserAgent like '%Mozilla/1%' then 'Netscape Navigator 1'
              when SiteLog.UserAgent like '%Mozilla/2%' then 'Netscape Navigator 2'
              when SiteLog.UserAgent like '%Mozilla/3%' then 'Netscape Navigator 3'
              when SiteLog.UserAgent like '%Mozilla/4%' then 'Netscape Navigator 4'
              when SiteLog.UserAgent like '%Mozilla/5%' then 'Netscape Navigator 6+'
             else SiteLog.UserAgent
                   end,
                 'Requêtes' = count(*),
                 'DernièreRequête' = DateAdd(minute, @TempTimeDiff, max(DateTime))
          from   SiteLog
          where  PortalID = @PortalId
          and   SiteLog.DateTime between @StartDate and @EndDate
          group by case
               when SiteLog.UserAgent like '%Opera%' then 'Opera'	
               when SiteLog.UserAgent like '%MSIE 1%' then 'Internet Explorer 1'
               when SiteLog.UserAgent like '%MSIE 2%' then 'Internet Explorer 2'
               when SiteLog.UserAgent like '%MSIE 3%' then 'Internet Explorer 3'
               when SiteLog.UserAgent like '%MSIE 4%' then 'Internet Explorer 4'
               when SiteLog.UserAgent like '%MSIE 5%' then 'Internet Explorer 5'
               when SiteLog.UserAgent like '%MSIE 6%' then 'Internet Explorer 6'
               when SiteLog.UserAgent like '%MSIE 7%' then 'Internet Explorer 7'
               when SiteLog.UserAgent like '%MSIE%' then 'Internet Explorer'
               when SiteLog.UserAgent like '%Firefox/1%' then 'Firefox 1'
               when SiteLog.UserAgent like '%Firefox/2%' then 'Firefox 2'
              when SiteLog.UserAgent like '%Firefox%' then 'Firefox'
              when SiteLog.UserAgent like '%Mozilla/1%' then 'Netscape Navigator 1'
              when SiteLog.UserAgent like '%Mozilla/2%' then 'Netscape Navigator 2'
              when SiteLog.UserAgent like '%Mozilla/3%' then 'Netscape Navigator 3'
              when SiteLog.UserAgent like '%Mozilla/4%' then 'Netscape Navigator 4'
              when SiteLog.UserAgent like '%Mozilla/5%' then 'Netscape Navigator 6+'
              else SiteLog.UserAgent
                   end
          order by Requêtes desc
        end
        else
        begin
          if @ReportType = 6 /* page views by hour */
          begin
            select 'Heure' = datePart(hour,DateAdd(minute, @TempTimeDiff, DateTime)),
                   'Vues' = count(*),
                   'Visiteurs' = count(distinct SiteLog.UserHostAddress),
                   'Usagers' = count(distinct SiteLog.UserId)
            from   SiteLog
            where  PortalId = @PortalId
            and   SiteLog.DateTime between @StartDate and @EndDate
            group by datepart(hour,DateAdd(minute, @TempTimeDiff, DateTime))
            order by Heure
          end
          else
          begin
            if @ReportType = 7 /* page views by week day */
            begin
              select 'JoursSemaine' = datePart(weekday,DateAdd(minute, @TempTimeDiff, DateTime)),
                     'Vues' = count(*),
                     'Visiteurs' = count(distinct SiteLog.UserHostAddress),
                     'Usagers' = count(distinct SiteLog.UserId)
 	      from   SiteLog  
              where  PortalId = @PortalId
              and   SiteLog.DateTime between @StartDate and @EndDate
	      group by datepart(Weekday, DateAdd(minute, @TempTimeDiff, DateTime))
	      order by JoursSemaine

            end
            else
            begin
              if @ReportType = 8 /* page views by month */
              begin
                select 'Mois' = datePart(month,DateAdd(minute, @TempTimeDiff, DateTime)),
                       'Vues' = count(*),
                       'Visiteurs' = count(distinct SiteLog.UserHostAddress),
                       'Usagers' = count(distinct SiteLog.UserId)
                from   SiteLog
                where  PortalId = @PortalId
                and   SiteLog.DateTime between @StartDate and @EndDate
                group by datepart(month,DateAdd(minute, @TempTimeDiff, DateTime))
                order by Mois
              end              else
              begin
                if @ReportType = 9 /* page popularity */
                begin
                  select 'Page' = Tabs.TabName,
                         'Requêtes' = count(*),
                         'DernièreRequête' = DateAdd(minute, @TempTimeDiff, max(DateTime))
                  from   SiteLog
                  inner join Tabs on SiteLog.TabID = Tabs.TabID
                  where  SiteLog.PortalId = @PortalId
                  and   SiteLog.DateTime between @StartDate and @EndDate
                  and    SiteLog.TabId is not null
                  group by Tabs.TabName
                  order by Requêtes desc
                end
                else
                begin
                  if @ReportType = 10 /* user registrations by date */
                  begin
                    select 'Date' = convert(varchar,CreatedDate,102),
                           'Usagers' = count(*)
                    from   UserPortals
                    where  PortalId = @PortalId
                    and   CreatedDate between @StartDate and @EndDate
                    group by convert(varchar,CreatedDate,102)
                    order by Date desc
                  end
                  else
                  begin
                    if @ReportType = 11 /* user registrations by country */
                    begin
                      select 'Pays' = Country,
                             'Usagers' = count(*)
                      from   UserPortals
                      inner join Users on UserPortals.UserID = Users.UserID
                      where  PortalId = @PortalId
                      and   CreatedDate between @StartDate and @EndDate
                      group by Country
                      order by Usagers desc
                    end
                    else
                    begin
                      if @ReportType = 12 /* affiliate referrals */
                      begin
                        select 'SiteWebAffilié' = AffiliateId,
         'Requêtes' = count(*),
                               'DernierRenvoi' = DateAdd(minute, @TempTimeDiff, max(DateTime))
                        from   SiteLog
                        where  SiteLog.PortalID = @PortalId
                        and   SiteLog.DateTime between @StartDate and @EndDate
                        and    AffiliateId is not null
                        group by AffiliateId
                        order by Requêtes desc
                      end
                      else /* default = all */
                      begin
                        select *
                        from   SiteLog
                        where  SiteLog.PortalID = @PortalId
                        and   SiteLog.DateTime between @StartDate and @EndDate
                        order by SiteLog.DateTime
                      end
                    end
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

GO
----------------------------------------------------
-- dbo.GetSiteLogReports
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteLogReports
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteLogReports
----------------------------------------------------

ALTER procedure [dbo].[GetSiteLogReports]
@Language nvarchar(5)
as
select Code, Description
from   CodeSiteLogReport
where language = @Language
order by Description


GO
----------------------------------------------------
-- dbo.GetSiteModule
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteModule
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteModule
----------------------------------------------------

ALTER procedure dbo.GetSiteModule
@FriendlyName nvarchar(128),
@PortalID int = null
as
if @PortalId is null
begin
  select Modules.ModuleId
  from   Modules
  inner join Tabs on Modules.TabId = Tabs.TabId
  inner join ModuleDefinitions on Modules.ModuleDefId = ModuleDefinitions.ModuleDefId
  where  Tabs.PortalID is null
  and    ModuleDefinitions.FriendlyName = @FriendlyName
end
else
begin
  select Modules.ModuleId
  from   Modules
  inner join Tabs on Modules.TabId = Tabs.TabId
  inner join ModuleDefinitions on Modules.ModuleDefId = ModuleDefinitions.ModuleDefId
  where  Tabs.PortalID = @PortalId
  and    ModuleDefinitions.FriendlyName = @FriendlyName
end

GO
----------------------------------------------------
-- dbo.GetSiteSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteSettings
----------------------------------------------------
----------------------------------------------------
-- dbo.GetSiteSettings
----------------------------------------------------

ALTER procedure [dbo].[GetSiteSettings]
@PortalID int
as
select SettingName,
       SettingValue
from   PortalSettings
where  PortalID = @PortalID


GO
----------------------------------------------------
-- dbo.GetTabByFriendLyName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabByFriendLyName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabByFriendLyName
----------------------------------------------------
ALTER procedure dbo.GetTabByFriendLyName
@FriendlyTabName  nvarchar(50),
@PortalID int = null
as
if @PortalID is null
begin
  select TabID,
         TabOrder
  from   Tabs
  where  FriendlyTabName = @FriendlyTabName
  and    PortalID is null
end
else
begin
  select TabID,
         TabOrder
  from   Tabs
  where  FriendlyTabName = @FriendlyTabName
  and    PortalID = @PortalID
end
GO
----------------------------------------------------
-- dbo.GetTabById
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabById
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabById
----------------------------------------------------

ALTER procedure [dbo].[GetTabById]
@TabId int,
@Language    nvarchar(5)
as
select Tabs.TabID,
       TabOrder,
       Tabs.PortalID,
       'MTabName' = Tabs.TabName,
       'TabName' = case when R1.TabName <> '' then R1.TabName else Tabs.TabName end,
       FriendlyTabName,
       AuthorizedRoles,
       ShowFriendly,
       LeftPaneWidth,
       RightPaneWidth,
       IsVisible,
       ParentId,
       Level,
       IconFile,
       AdministratorRoles
from   Tabs
left outer join TabsName R1 on Tabs.TabID = R1.TabID and R1.Language = @Language
where  Tabs.TabId = @TabId


GO
----------------------------------------------------
-- dbo.GetTabByName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabByName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabByName
----------------------------------------------------

ALTER procedure dbo.GetTabByName
@TabName  nvarchar(50),
@PortalID int = null
as
if @PortalID is null
begin
  select TabID,
         TabOrder
  from   Tabs
  where  TabName = @TabName
  and    PortalID is null
end
else
begin
  select TabID,
         TabOrder
  from   Tabs
  where  TabName = @TabName
  and    PortalID = @PortalID
end

GO
----------------------------------------------------
-- dbo.GetTabs
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabs
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabs
----------------------------------------------------

ALTER procedure dbo.GetTabs
@PortalID   int 
as
select TabID,
       'TabOrder' = case when TabOrder = 0 then 999 else Taborder end,
       TabName,
       FriendlyTabName,
       AuthorizedRoles,
       ShowFriendly,
       LeftPaneWidth,
       RightPaneWidth,
       IsVisible,
       DisableLink,
       ParentId,
       Level,
       IconFile,
       AdministratorRoles,
       'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId) then 'true' else 'false' end
from   Tabs
where  PortalID = @PortalID
order by TabOrder, TabName

GO
----------------------------------------------------
-- dbo.GetTabsByParentId
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabsByParentId
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabsByParentId
----------------------------------------------------

ALTER procedure dbo.GetTabsByParentId
@ParentId int
as
select TabID,
       TabOrder,
       PortalID,
       TabName,
       FriendlyTabName,
       AuthorizedRoles,
       ShowFriendly,
       LeftPaneWidth,
       RightPaneWidth,
       IsVisible,
       DisableLink,
       Level,
       IconFile,
       AdministratorRoles,
       'AdminTabIcon' = ( select AdminTabIcon from ModuleDefinitions where ModuleDefinitions.FriendlyName = Tabs.TabName )
from   Tabs
where  ParentId = @ParentId
order by TabOrder

GO
----------------------------------------------------
-- dbo.GetTabsName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabsName
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTabsName
----------------------------------------------------
ALTER procedure dbo.GetTabsName

@PortalID   int,
@language nvarchar(5)

as

select TabID, 
       TabName

from   TabsName
where  PortalID = @PortalID And Language = @Language

GO
----------------------------------------------------
-- dbo.GetThreadMessages
----------------------------------------------------
----------------------------------------------------
-- dbo.GetThreadMessages
----------------------------------------------------
----------------------------------------------------
-- dbo.GetThreadMessages
----------------------------------------------------

ALTER procedure dbo.GetThreadMessages
@Parent nvarchar(750)
as
select ItemID,
       DisplayOrder,
       'Indent' = REPLICATE( '·', ( ( LEN( DisplayOrder ) / 23 ) - 1 )  ),
       Title,  
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Discussion.CreatedDate,
       Body
from   Discussion
inner join Users on Discussion.CreatedByUser = Users.UserID
where  LEFT(DisplayOrder, 23) = @Parent
and    (LEN( DisplayOrder ) / 23 ) > 1
order by DisplayOrder

GO
----------------------------------------------------
-- dbo.GetTimeDiff
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTimeDiff
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTimeDiff
----------------------------------------------------

ALTER procedure [dbo].GetTimeDiff
@UserId       	int,
@PortalID     	int,
@TimeDiff       int output
AS
declare @UserTimeZone int
declare @ServerTimeZone int
Set @UserTimeZone = null
Set @ServerTimeZone = null
If @UserId <> 0 
Begin 
SELECT @UserTimeZone = TimeZone FROM TTTForum_Users WHERE TTTForum_Users.DNNUserID = @UserId 
End 
else
begin
SELECT @UserTimeZone = TimeZone FROM Portals WHERE Portals.PortalID = @PortalId 
end
Select @ServerTimeZone = SettingValue  FROM HostSettings  WHERE HostSettings.SettingName = 'TimeZone'
if @UserTimeZone IS NOT NULL AND @ServerTimeZone IS NOT NULL 
Begin
Set @TimeDiff = @UserTimeZone - @ServerTimeZone
end
else
begin
Set @TimeDiff = 0
end

GO
----------------------------------------------------
-- dbo.GetTimeZoneCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTimeZoneCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTimeZoneCodes
----------------------------------------------------

ALTER procedure [dbo].[GetTimeZoneCodes]
@Language nvarchar(5)
as
select Zone, Description
from   dbo.TimeZone
where language = @Language


GO
----------------------------------------------------
-- dbo.GetTopLevelMessages
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTopLevelMessages
----------------------------------------------------
----------------------------------------------------
-- dbo.GetTopLevelMessages
----------------------------------------------------

ALTER procedure dbo.GetTopLevelMessages
@ModuleID int
as
select ItemID,
       DisplayOrder,
       'Parent' = LEFT(DisplayOrder, 23),    
       'ChildCount' = (SELECT COUNT(*) -1  FROM Discussion Disc2 WHERE LEFT(Disc2.DisplayOrder,LEN(RTRIM(Disc.DisplayOrder))) = Disc.DisplayOrder),
       Title,
	Body,  
       'CreatedByUser' = Users.FirstName + ' ' + Users.LastName,
       Disc.CreatedDate
from   Discussion Disc
inner join Users on Disc.CreatedByUser = Users.UserID
where  ModuleID = @ModuleID
and    (LEN( DisplayOrder ) / 23 ) = 1
order by DisplayOrder

GO
----------------------------------------------------
-- dbo.GetUserCountryCode
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUserCountryCode
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUserCountryCode
----------------------------------------------------

ALTER procedure dbo.GetUserCountryCode

@PortalId int,
@UserId int

as

select Country_Code,
	LastIP,
	IPfrom,
	IPto,
	Security_Code
from   Users
where  UserId = @UserId
GO
----------------------------------------------------
-- dbo.GetUserDefinedFields
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUserDefinedFields
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUserDefinedFields
----------------------------------------------------

ALTER procedure dbo.GetUserDefinedFields
@ModuleId  int
as
select UserDefinedFieldId,
       FieldTitle,
       Visible,
       FieldType
from   UserDefinedFields
where  ModuleId = @ModuleId
order by FieldOrder

GO
----------------------------------------------------
-- dbo.GetUserDefinedRows
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUserDefinedRows
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUserDefinedRows
----------------------------------------------------

ALTER procedure [dbo].GetUserDefinedRows 
@ModuleId int 
as 
select UserDefinedRows.UserDefinedRowId, 
       UserDefinedFields.FieldTitle, 
       'FieldValue' = 
         Case charindex('http:', UserDefinedData.FieldValue) 
           When 0 Then
             Case charindex('@', UserDefinedData.FieldValue) 
               When 0 Then 
                 UserDefinedData.FieldValue 
               Else 
                 '<a href=mailto:' + UserDefinedData.FieldValue + '>' + UserDefinedData.FieldValue + '</a>' 
               End 
           Else 
             '<a href=' + UserDefinedData.FieldValue + '>' + UserDefinedData.FieldValue + '</a>' 
         End 
from   UserDefinedRows
left outer join UserDefinedData on UserDefinedRows.UserDefinedRowId = UserDefinedData.UserDefinedRowId
inner join UserDefinedFields on UserDefinedData.UserDefinedFieldId = UserDefinedFields.UserDefinedFieldId 
where  UserDefinedRows.ModuleId = @ModuleId
order by UserDefinedRows.UserDefinedRowId

GO
----------------------------------------------------
-- dbo.GetUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.GetUsers
----------------------------------------------------

ALTER procedure dbo.GetUsers
@PortalId int,
@Filter   nvarchar(1)
as
if @PortalID is null
begin
  select Users.*,
         'FullName' = Users.FirstName + ' ' + Users.LastName
  from   Users
  order by UserID
end
else
begin
  if @Filter = '-'
  begin
    select Users.UserID,
           Users.Username,
           Users.Email,
           'FullName' = Users.FirstName + ' ' + Users.LastName,
           Users.FirstName,
           Users.LastName,
           Users.Unit,
           Users.Street,
           Users.City,
           Users.Region,
           Users.PostalCode,
           Users.Country,
           Users.Telephone,
           'Authorized' = 'N',
           UserPortals.CreatedDate,
           UserPortals.LastLoginDate
    from   Users
    inner join UserPortals on Users.UserId = UserPortals.UserId
    where  UserPortals.PortalId = @PortalId
    and    ( UserPortals.Authorized = 0 or UserPortals.LastLoginDate is null )
    order  by 'FullName'
  end
  else
  begin
    select Users.UserID,
           users.Username,
           Users.Email,
           'FullName' = Users.FirstName + ' ' + Users.LastName,
           Users.FirstName,
           Users.LastName,
           Users.Unit,
           Users.Street,
           Users.City,
           Users.Region,
           Users.PostalCode,
           Users.Country,
           Users.Telephone,
           'Authorized' = case when UserPortals.Authorized = 1 then 'O' else 'N' end,
           UserPortals.CreatedDate,
           UserPortals.LastLoginDate
    from   Users
    inner join UserPortals on Users.UserId = UserPortals.UserId
    where  UserPortals.PortalId = @PortalId
    and    Users.FirstName like @Filter + '%'
    order  by 'FullName'
  end
end

GO
----------------------------------------------------
-- dbo.GetVendorClassifications
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorClassifications
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorClassifications
----------------------------------------------------

ALTER procedure [dbo].[GetVendorClassifications]
@VendorId  int = null
as
if @VendorId is null
begin
  select ClassificationId,
         ClassificationName,
         'IsAssociated' = 0
  from   Classification
  order by ClassificationName
end
else
begin
  select ClassificationId,
         ClassificationName,
         'IsAssociated' = case when exists ( select 1 from VendorClassification vc where vc.VendorId = @VendorId and vc.ClassificationId = Classification.ClassificationId ) then 1 else 0 end
  from   Classification
  order by ClassificationName
end


GO
----------------------------------------------------
-- dbo.GetVendorClickThrough
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorClickThrough
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorClickThrough
----------------------------------------------------

ALTER procedure dbo.GetVendorClickThrough
@VendorId int
as
update Vendors
set    ClickThroughs = ClickThroughs + 1
where  VendorId = @VendorId
select VendorID,
       VendorName,
       Unit, 
       Street, 
       City, 
       Region, 
       Country, 
       PostalCode, 
       Telephone,
       Fax,
       Email,
       Website,
       FirstName,
       LastName
from   Vendors
where  VendorId = @VendorId

GO
----------------------------------------------------
-- dbo.GetVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorFeedback
----------------------------------------------------

ALTER procedure dbo.GetVendorFeedback
@VendorId  int 
as
select VendorFeedback.VendorFeedbackId,
       VendorFeedback.UserId,
       'FullName' = Users.FirstName + ' ' + Users.LastName,
       Users.Email,
       VendorFeedback.Date,
       VendorFeedback.Comment,
       VendorFeedback.Value
from   VendorFeedback
inner join Users on VendorFeedback.UserId = Users.UserId
where  VendorId = @VendorId
order by Date desc

GO
----------------------------------------------------
-- dbo.GetVendorLog
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorLog
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendorLog
----------------------------------------------------

ALTER procedure dbo.GetVendorLog
@VendorId  int
as
select Search,
       'Requests' = count(*),
       'LastRequest' = max(DateTime)
from   VendorLog
where  VendorId = @VendorId
and    BannerId is null
group by Search
order by Requests desc

GO
----------------------------------------------------
-- dbo.GetVendors
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendors
----------------------------------------------------
----------------------------------------------------
-- dbo.GetVendors
----------------------------------------------------

 
ALTER procedure dbo.GetVendors
@PortalId int,
@Filter   nvarchar(1)
as
if @Filter = '-'
begin
  if @PortalId is null
  begin
    select VendorID,
           VendorName,
           Unit, 
           Street, 
           City, 
           Region, 
           Country, 
           PostalCode, 
           Telephone,
           Fax,
           Email,
           Website,
           FirstName,
           LastName,
           ClickThroughs,
           Views,
           'Authorized' = case when Authorized = 1 then 'O' else 'N' end,         
           'Banners' = ( select count(*) from Banners where Banners.VendorId = Vendors.VendorId )
    from   Vendors
    where  PortalId is null
    and    Authorized = 0
    order  by VendorName
  end
  else
  begin
    select VendorID,
           VendorName,
           Unit, 
           Street, 
           City, 
           Region, 
           Country, 
           PostalCode, 
           Telephone,
           Fax,
           Email,
           Website,
           FirstName,
           LastName,
           ClickThroughs,
           Views,
           'Authorized' = case when Authorized = 1 then 'O' else 'N' end,         
           'Banners' = ( select count(*) from Banners where Banners.VendorId = Vendors.VendorId )
    from   Vendors
    where  PortalId = @PortalId
    and    Authorized = 0
    order  by VendorName
  end
end
else
begin
  if @PortalId is null
  begin
    select VendorID,
           VendorName,
           Unit, 
           Street, 
           City, 
           Region, 
           Country, 
           PostalCode, 
           Telephone,
           Fax,
           Email,
           Website,
           FirstName,
           LastName,
           ClickThroughs,
           Views,
           'Authorized' = case when Authorized = 1 then 'O' else 'N' end,         
           'Banners' = ( select count(*) from Banners where Banners.VendorId = Vendors.VendorId )
    from   Vendors
    where  PortalId is null
    and    VendorName like @Filter + '%'
    order  by VendorName
  end
  else
  begin
    select VendorID,
           VendorName,
           Unit, 
           Street, 
           City, 
           Region, 
           Country, 
           PostalCode, 
           Telephone,
           Fax,
           Email,
           Website,
           FirstName,
           LastName,
           ClickThroughs,
           Views,
           'Authorized' = case when Authorized = 1 then 'O' else 'N' end,         
           'Banners' = ( select count(*) from Banners where Banners.VendorId = Vendors.VendorId )
    from   Vendors
    where  PortalId = @PortalId
    and    VendorName like @Filter + '%'
    order  by VendorName
  end
end
return 1

GO
----------------------------------------------------
-- dbo.SqlViewStateProvider_DeleteViewState
----------------------------------------------------
----------------------------------------------------
-- dbo.SqlViewStateProvider_DeleteViewState
----------------------------------------------------
----------------------------------------------------
-- dbo.SqlViewStateProvider_DeleteViewState
----------------------------------------------------

ALTER PROC SqlViewStateProvider_DeleteViewState
AS
DELETE FROM [ViewState] WHERE DATEDIFF(MINUTE, [TimeStamp], getdate()) > 30

GO
----------------------------------------------------
-- dbo.SqlViewStateProvider_GetViewState
----------------------------------------------------
----------------------------------------------------
-- dbo.SqlViewStateProvider_GetViewState
----------------------------------------------------
----------------------------------------------------
-- dbo.SqlViewStateProvider_GetViewState
----------------------------------------------------

ALTER PROC SqlViewStateProvider_GetViewState
(
	@vsKey NVARCHAR(100)
)
AS
SELECT vsValue FROM [ViewState] WHERE vsKey = @vsKey

GO
----------------------------------------------------
-- dbo.SqlViewStateProvider_SaveViewState
----------------------------------------------------
----------------------------------------------------
-- dbo.SqlViewStateProvider_SaveViewState
----------------------------------------------------
----------------------------------------------------
-- dbo.SqlViewStateProvider_SaveViewState
----------------------------------------------------

ALTER PROC SqlViewStateProvider_SaveViewState
(
	@vsKey NVARCHAR(100),
	@vsValue NTEXT
)
AS
IF EXISTS(SELECT vsKey FROM [ViewState] WHERE vsKey = @vsKey)
	BEGIN
		UPDATE [ViewState]
		SET vsValue = @vsValue,
		[TimeStamp] = getdate()
		WHERE vsKey = @vsKey
	END
ELSE
	BEGIN
		INSERT INTO [ViewState] (vsKey, vsValue) VALUES (@vsKey, @vsValue)
	END
DELETE FROM [ViewState] WHERE DATEDIFF(MINUTE, [TimeStamp], getdate()) > 30

GO
----------------------------------------------------
-- dbo.TTTForum_AddPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_AddPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_AddPost
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_AddPost
(
	@ParentPostID	int,
	@ForumID		int,
	@UserID			int,
	@RemoteAddr		nvarchar(100),
	@Notify			bit,
	@Subject		nvarchar(255),
	@Body			ntext,
	@IsPinned		bit,
	@Image		nvarchar(255),
	@PostID			int OUTPUT
)
AS
DECLARE @MaxTreeSortOrder int
DECLARE @MaxFlatSortOrder int
DECLARE @ParentLevel int
DECLARE @ThreadID int
DECLARE @ParentTreeSortOrder int
DECLARE @NextTreeSortOrder int
DECLARE @PostDate datetime
DECLARE @PinnedDate datetime
DECLARE @ApprovedPost bit
DECLARE @ModeratedForum bit
SELECT @PostDate = GetDate()
-- Determine if this forum is moderated
SELECT @ModeratedForum = IsModerated FROM TTTForum_Forums (nolock) WHERE ForumID = @ForumID
IF @ModeratedForum = 0
	SELECT @ApprovedPost = 1
ELSE
	BEGIN
	-- with moderated forum, if this user is trusted the post will be approved
	SET @ApprovedPost = (SELECT IsTrusted FROM TTTForum_Users (nolock) WHERE DNNUserID = @UserID)
END
IF @ParentPostID = 0 -- New Post
	BEGIN		
	
		-- Do INSERT into Posts table
		INSERT
			TTTForum_Posts (ParentPostID, UserID, RemoteAddr, Notify, Subject, Body, PostDate, PostLevel, TreeSortOrder, FlatSortOrder, IsApproved)
		VALUES 
			(@ParentPostID, @UserID, @RemoteAddr, @Notify, @Subject, @Body, @PostDate, 0, 0, 0, @ApprovedPost)
		-- Create new thread if post is approved
		
			
		-- Get the new Post ID
		SELECT @PostID = @@IDENTITY
		SET @PinnedDate = @PostDate
		EXEC TTTForum_AddThread @PostID, @ForumID, @IsPinned, @PinnedDate, @Image, @ApprovedPost
		-- Update Posts with the new post id
		UPDATE 
			TTTForum_Posts
		SET 
			ThreadID = @PostID
		WHERE 
			PostID = @PostID
			
	END
ELSE -- @ParentPostID <> 0 means reply to an existing post
	BEGIN
		-- Get post information for what we are replying to
		SELECT 
			@ParentLevel = PostLevel,
			@ThreadID = ThreadID,
			@ParentTreeSortOrder = TreeSortOrder
		FROM 
			TTTForum_Posts
		WHERE 
			PostID = @ParentPostID
		-- Calculate maximum flat sort order
		SELECT
			@MaxFlatSortOrder = Max(FlatSortOrder)
		FROM
			TTTForum_Posts
		WHERE
			ThreadID = @ThreadID
		-- Is there another post at the same level or higher
		IF EXISTS (SELECT * 
				FROM TTTForum_Posts 
				WHERE PostLevel <= @ParentLevel 
				AND TreeSortOrder > @ParentTreeSortOrder
				AND ThreadID = @ThreadID )
			BEGIN
				-- Find the next post at the same level or higher
				SELECT 
					@NextTreeSortOrder = Min(TreeSortOrder)
				FROM 
					TTTForum_Posts
				WHERE 
					PostLevel <= @ParentLevel 
					AND TreeSortOrder > @ParentTreeSortOrder
					AND ThreadID = @ThreadID
				-- Move the existing posts down
				UPDATE 
					TTTForum_Posts
				SET 
					TreeSortOrder = TreeSortOrder + 1
				WHERE 
					ThreadID = @ThreadID
					AND TreeSortOrder >= @NextTreeSortOrder
				--  And put this one into place
				INSERT 
					TTTForum_Posts (ParentPostID, UserID, RemoteAddr, Notify, Subject, Body, PostDate, ThreadID, PostLevel, TreeSortOrder, FlatSortOrder, IsApproved)
				VALUES 
					(@ParentPostID, @UserID, @RemoteAddr, @Notify, @Subject, @Body, @PostDate, @ThreadID, @ParentLevel + 1, @NextTreeSortOrder, @MaxFlatSortOrder + 1, @ApprovedPost)
					
				-- Get the new post ID
				SELECT @PostID = @@IDENTITY
			END
		ELSE -- There are no posts at this level or above
			BEGIN
				-- Find the highest sort order for this parent
				SELECT 
					@MaxTreeSortOrder = MAX(TreeSortOrder)
				FROM 
					TTTForum_Posts
				WHERE 
					ThreadID = @ThreadID
				-- Insert the new post
				INSERT 
					TTTForum_Posts (ParentPostID, UserID, RemoteAddr, Notify, Subject, Body, PostDate, ThreadID, PostLevel, TreeSortOrder, FlatSortOrder, IsApproved)
				VALUES 
					(@ParentPostID, @UserID, @RemoteAddr, @Notify, @Subject, @Body, @PostDate, @ThreadID, @ParentLevel + 1, @MaxTreeSortOrder + 1, @MaxFlatSortOrder + 1, @ApprovedPost)
					
				-- Get the new post ID
				SELECT @PostID = @@IDENTITY
			END	
		IF @ApprovedPost = 1	-- update thread only if post is approved
			EXEC TTTForum_UpdateThread @ThreadID, @PostID, @IsPinned, @PostDate, @Image
	END
IF @ApprovedPost = 1	 -- it's not moderate forum
BEGIN
	-- update user postcount & forum post count
	EXEC TTTForum_IncrementUserPostCount @UserID
	EXEC TTTForum_UpdateForumPostInfo @ForumID, @PostID, @UserID
END
ELSE			-- post need to be moderated
BEGIN
	-- update forum moderated post count
	EXEC TTTForum_Moderate_ForumPostCount @ForumID, @PostID, @UserID, 'submit'
END

GO
----------------------------------------------------
-- dbo.TTTForum_AddThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_AddThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_AddThread
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_AddThread
(
	@ThreadID		int,
	@ForumID		int,
	@IsPinned		bit,
	@PinnedDate		datetime,
	@Image		nvarchar(255),
	@IsApproved		bit
)
AS
INSERT INTO TTTForum_Threads
(
	ThreadID,
	Replies,
	Views,
	LastPostedPostID,
	ForumID,
	IsPinned,
	PinnedDate,
	[Image],
	IsApproved
)
VALUES
(
	@ThreadID,
	0,
	0,
	@ThreadID,
	@ForumID,
	@IsPinned,
	@PinnedDate,
	@Image,
	@IsApproved
)
-- Increase forum thread count if this thread is approved
IF @IsApproved = 1
	EXEC TTTForum_UpdateForumThreadInfo @ForumID, @ThreadID

GO
----------------------------------------------------
-- dbo.TTTForum_DeletePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_DeletePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_DeletePost
----------------------------------------------------

ALTER procedure [dbo].TTTForum_DeletePost
(
	@PostID	int,
	@DeletedBy	int,
	@Notes		nvarchar(1024)
)
AS
DECLARE @ForumID int
DECLARE @ThreadID int
DECLARE @LastPostedPostID int
DECLARE @ParentPostID int
DECLARE @UserID	int
Declare @NewPostID int
	-- Get details about the thread and forum this post belongs in
	SELECT		
		@ThreadID	 = ThreadID,
		@ParentPostID  = ParentPostID,
		@UserID	= UserID		
	FROM
		TTTForum_Posts
	WHERE
		PostID = @PostID
	-- forumid
	SELECT 
		@ForumID = ForumID,
		@LastPostedPostID  = LastPostedPostID
	FROM
		TTTForum_Threads
	WHERE
		ThreadID = @ThreadID	
	
	-- Delete the post
	-- Il y a seulement un message le fil de discussion et le message sont le meme
	IF @ThreadID = @LastPostedPostID
	BEGIN
	-- Efface le message et Efface le fil
	DELETE
		TTTForum_Posts	
	WHERE 
		PostID = @PostID
	DELETE
		TTTForum_Threads
	WHERE
		ThreadID = @ThreadID
	-- Mettre a jour les statistiques
	UPDATE
	TTTForum_Forums
	SET
	TotalPosts = ((SELECT TotalPosts FROM TTTForum_Forums WHERE ForumID = @ForumID) - 1),
	TotalThreads = ((SELECT TotalThreads FROM TTTForum_Forums WHERE ForumID = @ForumID) - 1)
	WHERE
	ForumID = @ForumID
	END
	-- NOUS AVONS PLUS QU UN MESSAGE
	-- VALIDE SI LE DERNIER MESSAGE
	ELSE IF @LastPostedPostID = @PostID
	BEGIN
	
	UPDATE
	TTTForum_Threads
	SET
	LastPostedPostID = @ParentPostID
	WHERE
	ThreadID = @ThreadID
	DELETE
		TTTForum_Posts	
	WHERE 
		PostID = @PostID
	-- Mettre a jour les statistiques
	UPDATE
	TTTForum_Forums
	SET
	TotalPosts = ((SELECT TotalPosts FROM TTTForum_Forums WHERE ForumID = @ForumID) - 1)
	WHERE
	ForumID = @ForumID
 	UPDATE
	TTTForum_Threads
	SET
	Replies = ((SELECT Replies FROM TTTForum_Threads WHERE ThreadID = @ThreadID) - 1)
	WHERE
	ThreadID = @ThreadID
	END
	-- Plus un message, pas le premier pas le dernier
	ELSE IF @ThreadID <> @PostID
	BEGIN
	UPDATE
	TTTForum_Posts
	SET
	ParentPostID = @ParentPostID 
	WHERE
	ParentPostID = @PostID
	-- Efface le message 
	DELETE
		TTTForum_Posts	
	WHERE 
		PostID = @PostID
	-- Mettre a jour les statistiques
	UPDATE
	TTTForum_Forums
	SET
	TotalPosts = ((SELECT TotalPosts FROM TTTForum_Forums WHERE ForumID = @ForumID) - 1)
	WHERE
	ForumID = @ForumID
 	UPDATE
	TTTForum_Threads
	SET
	Replies = ((SELECT Replies FROM TTTForum_Threads WHERE ThreadID = @ThreadID) - 1)
	WHERE
	ThreadID = @ThreadID
 
	END
	-- Premier message mais plus un message mais veux l effacer
	-- else
	-- begin
	-- copie le deuxieme message sur le premier et efface le deuxieme message après
	-- l autre choix est de demander à l'utilisateur d'effacer tous les messages dans le fil
	-- et apres il pourra effacer le premier message du fil
	-- end
 	-- Doit mettre ici tttforum_forums mostrecentpostId et MostRecentThreadID
	-- Update audit table	
	INSERT INTO
		TTTForum_ModerationAudit
	VALUES
		(GetDate(), @PostID, @DeletedBy, 'Deleted by user', @Notes)	

GO
----------------------------------------------------
-- dbo.TTTForum_DeletePostModerated
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_DeletePostModerated
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_DeletePostModerated
----------------------------------------------------

  ALTER procedure [dbo].TTTForum_DeletePostModerated
(
	@PostID	int
)
AS
DECLARE @ForumID int
DECLARE @ThreadID int
DECLARE @LastPostedPostID int
DECLARE @ParentPostID int
DECLARE @UserID	int
Declare @NewPostID int
	-- Get details about the thread and forum this post belongs in
	SELECT		
		@ThreadID	 = ThreadID,
		@ParentPostID  = ParentPostID,
		@UserID	= UserID		
	FROM
		TTTForum_Posts
	WHERE
		PostID = @PostID
	-- forumid
	SELECT 
		@ForumID = ForumID,
		@LastPostedPostID  = LastPostedPostID
	FROM
		TTTForum_Threads
	WHERE
		ThreadID = @ThreadID	
	
	-- Delete the post
	-- Il y a seulement un message le fil de discussion et le message sont le meme
	IF @ThreadID = @LastPostedPostID
	BEGIN
	-- Efface le message et Efface le fil
	DELETE
		TTTForum_Posts	
	WHERE 
		PostID = @PostID
	DELETE
		TTTForum_Threads
	WHERE
		ThreadID = @ThreadID
	END
	-- NOUS AVONS PLUS QU UN MESSAGE
	-- VALIDE SI LE DERNIER MESSAGE
	ELSE IF @LastPostedPostID = @PostID
	BEGIN
	
	UPDATE
	TTTForum_Threads
	SET
	LastPostedPostID = @ParentPostID
	WHERE
	ThreadID = @ThreadID
	DELETE
		TTTForum_Posts	
	WHERE 
		PostID = @PostID
	END
	-- Plus un message, pas le premier pas le dernier
	ELSE IF @ThreadID <> @PostID
	BEGIN
	UPDATE
	TTTForum_Posts
	SET
	ParentPostID = @ParentPostID 
	WHERE
	ParentPostID = @PostID
	-- Efface le message 
	DELETE
		TTTForum_Posts	
	WHERE 
		PostID = @PostID
 
	END

GO
----------------------------------------------------
-- dbo.TTTForum_ForumCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_ForumCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_ForumCreateUpdateDelete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_ForumCreateUpdateDelete
(
	
	@ForumGroupID int,
	@PortalID	int,
	@ModuleID	int,
	@Name		nvarchar(256),
	@Description	nvarchar(256),
	@CreatedByUser int,
	@IsModerated	bit,
	@IsActive	bit,
	@IsIntegrated	bit,
	@IntegratedGallery	int,
	@IntegratedAlbumName nvarchar(256),
	@IsPrivate	bit,
	@AuthorizedRoles	nvarchar(256),
	@Action	int,
	@ForumId	int OUT
)
AS
-- CREATE
IF @Action = 0
BEGIN
	DECLARE @SortOrder int
	SET @SortOrder = ISNULL((SELECT MAX(SortOrder) + 1 FROM TTTForum_Forums WHERE ForumGroupID = @ForumGroupID), 0)
	-- Create a new forum
	INSERT INTO 
		TTTForum_Forums 
		(
			ForumGroupID,
			PortalID,
			ModuleID,
			Name,	
			Description,
			CreatedByUser,
			IsModerated,
			IsActive,
			IsIntegrated,
			IntegratedGallery,
			IntegratedAlbumName,
			IsPrivate,
			AuthorizedRoles,
			SortOrder
		)
	VALUES 
		(			
			@ForumGroupID,
			@PortalID,
			@ModuleID,
			@Name	,
			@Description,
			@CreatedByUser,
			@IsModerated,
			@IsActive,
			@IsIntegrated,
			@IntegratedGallery,
			@IntegratedAlbumName	,
			@IsPrivate,
			@AuthorizedRoles,	
			@SortOrder
		)
		EXEC TTTForum_UpdateForumCount @ForumGroupID, 1
		SET @ForumID = @@IDENTITY
END
		
-- UPDATE
ELSE IF @Action = 1
BEGIN
	IF EXISTS(SELECT ForumID FROM TTTForum_Forums WHERE ForumID = @ForumID AND ForumGroupID = @ForumGroupID)
	BEGIN
		UPDATE
			TTTForum_Forums
		SET
			Name = @Name,
			Description = @Description,
			CreatedByUser = @CreatedByUser,
			IsModerated = @IsModerated,
			IsActive = @IsActive,
			IsIntegrated = @IsIntegrated,
			IntegratedGallery = @IntegratedGallery,
			IntegratedAlbumName = @IntegratedAlbumName,
			IsPrivate = @IsPrivate,
			AuthorizedRoles = @AuthorizedRoles
		
		WHERE ForumID = @ForumID	
	END
END
-- DELETE
ELSE IF @Action = 2
BEGIN
	DELETE TTTForum_Forums WHERE ForumID = @ForumID
	EXEC TTTForum_UpdateForumCount @ForumGroupID, 0
END

GO
----------------------------------------------------
-- dbo.TTTForum_ForumGroupCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_ForumGroupCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_ForumGroupCreateUpdateDelete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_ForumGroupCreateUpdateDelete
(
	@ForumGroupID int out,
	@Name		nvarchar(256),
	@PortalID	int,
	@ModuleID	int,
	@CreatedByUser int,
	@Action 	int
)
AS
-- CREATE
IF @Action = 0
BEGIN
	DECLARE @SortOrder int
	SET @SortOrder = ISNULL((SELECT MAX(SortOrder) + 1 FROM TTTForum_ForumGroups), 0)
	-- Create a new forum group
	INSERT INTO 
		TTTForum_ForumGroups 
		(
			Name,
			PortalID,
			ModuleID,
			CreatedByUser,
			SortOrder
		)
	VALUES 
		(
			@Name,
			@PortalID,
			@ModuleID,
			@CreatedByUser,
			@SortOrder
		)
	
	SET @ForumGroupID = @@IDENTITY
END
-- UPDATE
ELSE IF @Action = 1
BEGIN
	IF EXISTS(SELECT ForumGroupID FROM TTTForum_ForumGroups WHERE ForumGroupID = @ForumGroupID)
	BEGIN
		UPDATE
			TTTForum_ForumGroups
		SET
			Name = @Name,
			PortalID = @PortalID,
			ModuleID = @ModuleID,
			CreatedByUser = @CreatedByUser					
		WHERE ForumGroupID = @ForumGroupID	
	END
END
-- DELETE
ELSE IF @Action = 2
BEGIN
	DELETE TTTForum_ForumGroups WHERE ForumGroupID = @ForumGroupID
END

GO
----------------------------------------------------
-- dbo.TTTForum_GetActiveUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetActiveUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetActiveUsers
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetActiveUsers
@PortalId       int
as
-- this is a modified version of GetActiveUsers from Scott McCulloch for TTTForum
SELECT     
	AU.ItemId, 
	AU.PortalId, 
	AU.SessionId, 
	AU.UserId,  
	AU.Location,
	AU.CreationDate, 
	AU.TabId, 
	AU.LastActiveDate, 
	AU.IP, 
	AU.Browser, 
	FU.Alias
FROM         
	ActiveUsers AU LEFT OUTER JOIN
	TTTForum_Users FU ON AU.UserId =FU.DNNUserID
WHERE   
	AU.PortalId = @PortalId 
ORDER BY 
	AU.CreationDate

GO
----------------------------------------------------
-- dbo.TTTForum_GetAvatarsModule
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetAvatarsModule
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetAvatarsModule
----------------------------------------------------

ALTER procedure [dbo].TTTForum_GetAvatarsModule
as
SELECT 	ModuleID
FROM 		ModuleSettings
WHERE 	SettingName = 'IsAvatarsGallery'
AND		SettingValue = 'True'

GO
----------------------------------------------------
-- dbo.TTTForum_GetForumFromModuleID
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetForumFromModuleID
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetForumFromModuleID
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetForumFromModuleID
(
	@ModuleID int
)
AS
SELECT *
      
FROM
	TTTForum_Forums
WHERE
	ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.TTTForum_GetForumInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetForumInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetForumInfo
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetForumInfo
(
	@ForumID int
)
AS
SELECT *
      
FROM
	TTTForum_Forums
WHERE
	ForumID = @ForumID

GO
----------------------------------------------------
-- dbo.TTTForum_GetForums
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetForums
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetForums
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetForums
(
	@ForumGroupID int
)
AS
SELECT *
      
FROM
	TTTForum_Forums
WHERE
	ForumGroupID = @ForumGroupID
ORDER BY SortOrder

GO
----------------------------------------------------
-- dbo.TTTForum_GetGroups
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetGroups
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetGroups
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetGroups
(
	@PortalID int,
	@ModuleID int
)
AS
IF @ModuleID <> 0
	BEGIN
		SELECT *      
		FROM
			TTTForum_ForumGroups
		WHERE
			PortalID = @PortalID
			AND ModuleID = @ModuleID
		ORDER By SortOrder
	END
ELSE
	BEGIN		
		SELECT *      
		FROM
			TTTForum_ForumGroups
		WHERE
			PortalID = @PortalID			
		ORDER By SortOrder
	END

GO
----------------------------------------------------
-- dbo.TTTForum_GetModuleIDByTitle
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetModuleIDByTitle
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetModuleIDByTitle
----------------------------------------------------

ALTER procedure [dbo].TTTForum_GetModuleIDByTitle
@ModuleTitle nvarchar(50),
@ModuleDefID int
as
SELECT 	ModuleID
FROM 		Modules
WHERE 	ModuleTitle = @ModuleTitle
AND		ModuleDefID = @ModuleDefID

GO
----------------------------------------------------
-- dbo.TTTForum_GetPostFromThreadAndPage
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetPostFromThreadAndPage
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetPostFromThreadAndPage
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetPostFromThreadAndPage
(
	@ThreadID		int,
	@ThreadPage		int,
	@PostsPerPage	int,
	@FlatView		bit,
	@PostID			int OUTPUT
)
AS
DECLARE @SortOrder int
SELECT @SortOrder = @ThreadPage*@PostsPerPage
IF @FlatView = 1
	SELECT @PostID = (SELECT PostID FROM TTTForum_Posts WHERE ThreadID=@ThreadID AND FlatSortOrder=@SortOrder)
ELSE
	SELECT @PostID = (SELECT PostID FROM TTTForum_Posts WHERE ThreadID=@ThreadID AND TreeSortOrder=@SortOrder)

GO
----------------------------------------------------
-- dbo.TTTForum_GetPosts
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetPosts
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetPosts
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetPosts
(
	@ThreadID		int,
	@ThreadPage		int,
	@PostsPerPage		int,
	@FlatView		bit,
	@Filter			nvarchar
)
AS
DECLARE @StartSortOrder int
DECLARE @StopSortOrder int
SELECT @StartSortOrder = @ThreadPage*@PostsPerPage
SELECT @StopSortOrder = @StartSortOrder + @PostsPerPage - 1
IF (@FlatView = 1)
	BEGIN
		SELECT
			ParentPostID,	-- Post fields
			P.UserID,
			RemoteAddr,
			Notify,
			Subject,
			Body,
			PostDate,
			ThreadID,
			PostLevel,
			TreeSortOrder,
			FlatSortOrder,
			PostID,
			Alias,				-- User fields	
			UserAvatar,
			Avatar,
			LastModifiedDate,
			LastModifiedAuthorID,
			LastModifiedAuthor,
			PostCount
		FROM
			TTTForum_Posts P, TTTForum_Users U
		WHERE
			ThreadID = @ThreadID AND
			U.DNNUserID = P.UserID AND
			P.IsApproved = 1 AND
			P.IsLocked = 0 AND
			FlatSortOrder >= @StartSortOrder AND
			FlatSortOrder <= @StopSortOrder + @filter
		ORDER BY
			FlatSortOrder
	END
ELSE
	BEGIN
		SELECT
			ParentPostID,	-- Post fields
			P.UserID,
			RemoteAddr,
			Notify,
			Subject,
			Body,
			PostDate,
			ThreadID,
			PostLevel,
			TreeSortOrder,
			FlatSortOrder,
			PostID,
			Alias,				-- User fields			
			UserAvatar,
			Avatar,
			LastModifiedDate,
			LastModifiedAuthorID,
			LastModifiedAuthor,
			PostCount
		FROM
			TTTForum_Posts P, TTTForum_Users U
		WHERE
			ThreadID = @ThreadID AND
			U.DNNUserID = P.UserID AND
			P.IsApproved = 1 AND
			P.IsLocked = 0 AND
			TreeSortOrder >= @StartSortOrder AND
			TreeSortOrder <= @StopSortOrder + @filter
		ORDER BY
			TreeSortOrder
	END

GO
----------------------------------------------------
-- dbo.TTTForum_GetRepliesFromThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetRepliesFromThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetRepliesFromThread
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetRepliesFromThread
(
	@ThreadID	int,
	@Replies	int OUTPUT
)
AS
SELECT @Replies = (SELECT Replies FROM TTTForum_Threads WHERE ThreadID=@ThreadID)

GO
----------------------------------------------------
-- dbo.TTTForum_GetSingleForum
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSingleForum
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSingleForum
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetSingleForum
(
	@ForumID int
)
AS
SELECT *
      
FROM
	TTTForum_Forums
WHERE
	ForumID = @ForumID

GO
----------------------------------------------------
-- dbo.TTTForum_GetSingleGroup
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSingleGroup
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSingleGroup
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetSingleGroup
(
	@ForumGroupID int
)
AS
SELECT *
      
FROM
	TTTForum_ForumGroups
WHERE
	ForumGroupID = @ForumGroupID

GO
----------------------------------------------------
-- dbo.TTTForum_GetSinglePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSinglePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSinglePost
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetSinglePost
(
	@PostID int
)
AS
SELECT *
      
FROM
	TTTForum_Posts
WHERE
	PostID = @PostID

GO
----------------------------------------------------
-- dbo.TTTForum_GetSingleThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSingleThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSingleThread
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetSingleThread
(
	@ThreadID int
)
AS
SELECT
	C.Subject AS Subject,
	A.Alias AS StartedByAlias,
	A.DNNUserID AS StartedByUserID,
	Replies,
	Views,
	B.Alias AS LastPostAlias,
	B.DNNUserID As LastPostUserID,
	D.PostDate AS DateLastPost,
	TTTForum_Threads.ThreadID AS ThreadID,
	TTTForum_Threads.ForumID,
	TTTForum_Threads.Image As Image,
	TTTForum_Threads.IsPinned AS Pinned
FROM
	TTTForum_Threads, TTTForum_Posts C, TTTForum_Posts D, TTTForum_Users A, TTTForum_Users B
WHERE	
	C.PostID 				= @ThreadID	AND				
	A.DNNUserID				= C.UserID	AND	
	TTTForum_Threads.LastPostedPostID	= D.PostID	AND
	C.ThreadID				= D.ThreadID	AND
	B.DNNUserID				= D.UserID

GO
----------------------------------------------------
-- dbo.TTTForum_GetSortOrderFromPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSortOrderFromPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetSortOrderFromPost
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetSortOrderFromPost
(
	@PostID		int,
	@FlatView	bit,
	@SortOrder	int OUTPUT
)
AS
IF @FlatView = 1
	SELECT @SortOrder = (SELECT FlatSortOrder FROM TTTForum_Posts WHERE PostID=@PostID)
ELSE
	SELECT @SortOrder = (SELECT TreeSortOrder FROM TTTForum_Posts WHERE PostID=@PostID)

GO
----------------------------------------------------
-- dbo.TTTForum_GetThreadCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetThreadCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetThreadCount
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetThreadCount
(
	@ForumID	int,
	@Count		int OUTPUT
)
AS
SELECT @Count = (
	SELECT
		COUNT(ThreadID)
	FROM
		TTTForum_Threads
	WHERE
		ForumID = @ForumID)

GO
----------------------------------------------------
-- dbo.TTTForum_GetThreadFromPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetThreadFromPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetThreadFromPost
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetThreadFromPost
(
	@PostID		int,
	@ThreadID	int OUTPUT
)
AS
SELECT @ThreadID = (SELECT ThreadID FROM TTTForum_Posts WHERE PostID=@PostID)

GO
----------------------------------------------------
-- dbo.TTTForum_GetThreads
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetThreads
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetThreads
----------------------------------------------------

ALTER procedure [dbo].[TTTForum_GetThreads]
(
	@ForumID	int,
	@PageSize	int,
	@PageIndex	int,
	@filter		nvarchar(200)
)
AS
DECLARE @PageLowerBound int
DECLARE @PageUpperBound int
-- Set the page bounds
SET @PageLowerBound = @PageSize * @PageIndex
SET @PageUpperBound = @PageLowerBound + @PageSize + 1
-- Create a temp table to store the select results
CREATE TABLE #PageIndex 
(
	IndexID		int IDENTITY (1, 1) NOT NULL,
	ThreadID	int
)
-- INSERT into the temp table
INSERT INTO #PageIndex (ThreadID)
SELECT 
	T.ThreadID
FROM 
	TTTForum_Threads T INNER JOIN TTTForum_Posts P
	ON T.LastPostedPostID = P.PostID
WHERE 
	T.ForumID = @ForumID AND
	T.IsApproved = 1
ORDER BY 
	T.IsPinned DESC,  P.PostDate DESC
SELECT
	C.Subject AS Subject,
	A.Alias AS StartedByAlias,
	A.DNNUserID AS StartedByUserID,
	Replies,
	Views,
	B.Alias AS LastPostAlias,
	B.DNNUserID As LastPostUserID,
	D.PostDate AS DateLastPost,
	TTTForum_Threads.ThreadID AS ThreadID,
	TTTForum_Threads.ForumID,
	TTTForum_Threads.Image As Image,
	TTTForum_Threads.IsPinned AS Pinned,
    'URLField' = @filter + '&forumid=' + CONVERT(nvarchar, TTTForum_Threads.ForumID) + '&scope=post&threadid=' + CONVERT(nvarchar, TTTForum_Threads.ThreadID),
	D.Body As Body
FROM
	TTTForum_Threads, TTTForum_Posts C, TTTForum_Posts D, TTTForum_Users A, TTTForum_Users B, #PageIndex PageIndex
WHERE
	TTTForum_Threads.ThreadID				= PageIndex.ThreadID	AND
	PageIndex.IndexID				> @PageLowerBound		AND
	PageIndex.IndexID				< @PageUpperBound		AND
	TTTForum_Threads.ThreadID				= C.PostID				AND
	TTTForum_Threads.ForumID				= @ForumID				AND
	A.DNNUserID						= C.UserID				AND	
	TTTForum_Threads.LastPostedPostID		= D.PostID				AND
	C.ThreadID						= D.ThreadID			AND
	B.DNNUserID						= D.UserID
ORDER BY
	PageIndex.IndexID




GO
----------------------------------------------------
-- dbo.TTTForum_GetUser
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUser
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUser
----------------------------------------------------

ALTER procedure [dbo].TTTForum_GetUser
(
	@DNNUserID int
)
AS
SELECT
	ur.UserName,
	ur.Email, 
	ur.FirstName,
	ur.LastName,
	'FullName' = ur.FirstName + ' ' + ur.LastName,
	fur.UserID As ForumUserID,
	fur.Alias,  
	fur.UseRichText,
	fur.UserAvatar,
	fur.Avatar,
	fur.PostCount,     
	fur.URL,
        	fur.Signature,
        	fur.TimeZone,
        	fur.Occupation,
        	fur.interests,
        	fur.MSN,
        	fur.Yahoo,
        	fur.AIM,
        	fur.ICQ,
        	fur.Skin,
        	fur.LastActivity,
        	fur.LastForumsView,
        	fur.LastThreadView,
        	fur.FlatView,
        	fur.IsTrusted,
        	fur.EnableThreadTracking,
        	fur.EnableDisplayUnreadThreadsOnly,
        	fur.EnableDisplayInMemberList,
        	fur.EnablePrivateMessages,
        	fur.EnableOnlineStatus
FROM
	Users ur
LEFT OUTER JOIN TTTForum_Users fur ON fur.DNNUserId = ur.UserId
WHERE
	ur.UserId = @DNNUserID

GO
----------------------------------------------------
-- dbo.TTTForum_GetUserFromAlias
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUserFromAlias
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUserFromAlias
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetUserFromAlias
(
	@Alias nvarchar(100)	
)
AS
SELECT
		ur.UserID,
       	ur.UserName,
       	ur.Email, 
		fur.UserID As ForumUserID,
		fur.Alias,  
		fur.UseRichText,
		fur.UserAvatar,
		fur.Avatar,
		fur.PostCount,     
		fur.URL,
        	fur.Signature,
        	fur.TimeZone,
        	fur.Occupation,
        	fur.interests,
        	fur.MSN,
        	fur.Yahoo,
        	fur.AIM,
        	fur.ICQ,
        	fur.Skin,
        	fur.LastActivity,
        	fur.LastForumsView,
        	fur.LastThreadView,
        	fur.FlatView,
        	fur.IsTrusted,
        	fur.EnableThreadTracking,
        	fur.EnableDisplayUnreadThreadsOnly,
        	fur.EnableDisplayInMemberList,
        	fur.EnablePrivateMessages,
        	fur.EnableOnlineStatus
FROM
	Users ur
LEFT OUTER JOIN TTTForum_Users fur ON fur.DNNUserId = ur.UserId
WHERE
	fur.Alias = @Alias

GO
----------------------------------------------------
-- dbo.TTTForum_GetUserIDFromEmail
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUserIDFromEmail
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUserIDFromEmail
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetUserIDFromEmail
(
	@Email	nvarchar(100),	
	@UserID	int OUTPUT
)
AS
SELECT @UserID = (
	SELECT
		UserID
	FROM
		Users
	WHERE
		Email = @Email
		)

GO
----------------------------------------------------
-- dbo.TTTForum_GetUserLastView
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUserLastView
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUserLastView
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetUserLastView
@DNNUserID   int
as
Select LastForumsView, LastThreadView, FlatView
From TTTForum_Users
 
where  DNNUserId = @DNNUserId

GO
----------------------------------------------------
-- dbo.TTTForum_GetUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_GetUsers
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_GetUsers
(
	@PortalID	int,
	@Filter		nvarchar(50)
)
AS
SELECT
	pt.PortalID,	
	ur.UserName,
	ur.FirstName,
	ur.LastName,
	'FullName' = ur.FirstName + ' ' + ur.LastName,
       	ur.Email, 
	ur.Unit,
	ur.Street,
	ur.City,
	ur.Region,
	ur.Country,
	ur.PostalCode,
	'UserID' = fur.DNNUserID,
	fur.Alias,
	fur.PostCount,     
	fur.URL,  
       	fur.TimeZone, 
        	fur.MSN,
        	fur.Yahoo,
        	fur.AIM,
        	fur.ICQ, 
        	fur.LastActivity, 
       	fur.IsTrusted
FROM
	Users ur
LEFT OUTER JOIN TTTForum_Users fur ON fur.DNNUserId = ur.UserId
INNER JOIN UserPortals pt ON ur.UserID = pt.UserId
WHERE	
 	pt.PortalId = @PortalId AND
	fur.Alias like @Filter + '%'
ORDER BY
	 UserName

GO
----------------------------------------------------
-- dbo.TTTForum_IncrementThreadViews
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_IncrementThreadViews
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_IncrementThreadViews
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_IncrementThreadViews
(
	@ThreadID int
)
AS
UPDATE
	TTTForum_Threads
SET
	Views = ((SELECT Views FROM TTTForum_Threads WHERE ThreadID = @ThreadID) + 1)
WHERE
	ThreadID = @ThreadID

GO
----------------------------------------------------
-- dbo.TTTForum_IncrementUserPostCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_IncrementUserPostCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_IncrementUserPostCount
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_IncrementUserPostCount
(
	@UserID int
)
AS
UPDATE
	TTTForum_Users
SET
	PostCount = ((SELECT PostCount FROM TTTForum_Users WHERE DNNUserID = @UserID) + 1),
	LastActivity = GetDate()
WHERE
	DNNUserID = @UserID

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_ApprovePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ApprovePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ApprovePost
----------------------------------------------------

ALTER procedure [dbo].TTTForum_Moderate_ApprovePost
(
	@PostID	int,
	@ApprovedBy	int,
	@Notes		nvarchar(1024)
)
AS
DECLARE @ForumID int
DECLARE @ThreadID int
DECLARE @PostLevel int
DECLARE @UserID	int
DECLARE @IsPinned	bit
DECLARE @PostDate DateTime
DECLARE @Image	nvarchar(255)	
-- first make sure that the post is ALREADY non-approved
IF (SELECT IsApproved FROM TTTForum_Posts (nolock) WHERE PostID = @PostID) = 1
BEGIN
	print 'Post is already approved'
	SELECT 0
	RETURN
END
ELSE
BEGIN
	print 'Post is not approved'
	-- Get details about the thread and forum this post belongs in
	SELECT		
		@ThreadID	 = ThreadID,
		@PostLevel	 = PostLevel,
		@PostDate  	= PostDate,
		@UserID	= UserID		
	FROM
		TTTForum_Posts
	WHERE
		PostID = @PostID
	
	-- Approve the post
	UPDATE 
		TTTForum_Posts
	SET 
		IsApproved 	= 1,
		IsLocked	= 0
	WHERE 
		PostID = @PostID
	
	IF @ThreadID = @PostID -- Also approve related thread if this is the first post of the thread
		BEGIN
			-- Get forumId from parent thread
			SELECT 
				@ForumID =  ForumID		
			FROM 
				TTTForum_Threads 
			WHERE 
				ThreadID = @ThreadID
			EXEC TTTForum_Moderate_ApproveThread @ForumID, @ThreadID
		END
	ELSE -- If this post is a reply or edit
		BEGIN
			SELECT  
				@ForumID =  ForumID,
				@IsPinned = IsPinned,
				@Image = [Image],
				@PostDate = GetDate()
			FROM TTTForum_Threads
			WHERE
				ThreadID = @ThreadID	
			
			EXEC TTTForum_UpdateThread @ThreadID, @PostID, @IsPinned, @PostDate, @Image
		END
	-- Update the user's post count & forum post count		
	EXEC TTTForum_IncrementUserPostCount @UserID	
	EXEC TTTForum_Moderate_ForumPostCount @ForumID, @PostID, @UserID, 'approve'	
	EXEC TTTForum_Moderate_ModeratorPostCount @ApprovedBy, @ForumID
	
	INSERT INTO
		TTTForum_ModerationAudit
	VALUES
		(GetDate(), @PostID, @ApprovedBy, 'Approve', @Notes)	
	
	-- Send back a success code
	-- SELECT 1
	
END

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_ApproveThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ApproveThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ApproveThread
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_ApproveThread
(
	@ForumID	int,
	@ThreadID	int	
)
AS
-- first make sure that the post is ALREADY non-approved
IF (SELECT IsApproved FROM TTTForum_Threads (nolock) WHERE ThreadID = @ThreadID) = 1
BEGIN
	print 'Thread is already approved'
	SELECT 0
	RETURN
END
ELSE
BEGIN
	print 'Thread is not approved'	
	-- Approve the thread
	UPDATE 
		TTTForum_Threads
	SET 
		IsApproved = 1
	WHERE 
		ThreadID = @ThreadID	
	
	-- Update the user's post count & forum post cout		
	EXEC TTTForum_UpdateForumThreadInfo @ForumID, @ThreadID
	-- Send back a success code
	SELECT 1
	
END

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_DeletePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_DeletePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_DeletePost
----------------------------------------------------

ALTER procedure [dbo].TTTForum_Moderate_DeletePost
(
	@PostID	int,
	@DeletedBy	int,
	@Notes		nvarchar(1024)
)
AS
DECLARE @ForumID int
DECLARE @ThreadID int
DECLARE @PostLevel int
DECLARE @UserID	int
DECLARE @IsPinned	bit
DECLARE @PostDate DateTime
DECLARE @Image	nvarchar(255)	
	-- Get details about the thread and forum this post belongs in
	SELECT		
		@ThreadID	 = ThreadID,
		@PostLevel	 = PostLevel,
		@PostDate  	= PostDate,
		@UserID	= UserID		
	FROM
		TTTForum_Posts
	WHERE
		PostID = @PostID
	-- forumid
	SELECT 
		@ForumID = ForumID
	FROM
		TTTForum_Threads
	WHERE
		ThreadID = @ThreadID	
	
	-- Delete the post
	EXEC TTTForum_DeletePostModerated  @PostID
	
	-- update forum moderated post count
	EXEC TTTForum_Moderate_ForumPostCount @ForumID, @PostID, @UserID, 'delete'	
	-- Increase moderator approved posts count
	EXEC TTTForum_Moderate_ModeratorPostCount @DeletedBy, @ForumID
	-- Update audit table	
	INSERT INTO
		TTTForum_ModerationAudit
	VALUES
		(GetDate(), @PostID, @DeletedBy, 'Delete', @Notes)	
	-- Send back a success code
	-- SELECT 1

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_ForumPostCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ForumPostCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ForumPostCount
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_ForumPostCount
(
	@ForumID 	int,
	@PostID 	int ,	
	@PostAuthorID	 int, 
	@action	nvarchar(50)
)
AS
DECLARE @PostAuthor nvarchar (64)
IF @Action = 'submit' -- new moderate post queing
	BEGIN
		UPDATE
			TTTForum_Forums
		SET
			PostsToModerate = ((SELECT PostsToModerate FROM TTTForum_Forums WHERE ForumID = @ForumID) + 1)
		WHERE
			ForumID = @ForumID
	END
ELSE IF @Action = 'approve'		-- approved moderate post, increase forum post count, decrease posts to moderate count, update new post info into forum
	BEGIN
		SELECT 
			@PostAuthor = (Alias)
		FROM   
			TTTForum_Users
		WHERE 
			DNNUserID = @PostAuthorID
		UPDATE
			TTTForum_Forums
		SET
			PostsToModerate = ((SELECT PostsToModerate FROM TTTForum_Forums WHERE ForumID = @ForumID) - 1),
			TotalPosts = ((SELECT TotalPosts FROM TTTForum_Forums WHERE ForumID = @ForumID) + 1),
			MostRecentPostID = @PostID,
			MostRecentPostAuthorID = @PostAuthorID,
			MostRecentPostAuthor = @PostAuthor,
			MostRecentPostDate = GetDate()
		WHERE
			ForumID = @ForumID	
	END
ELSE	-- post is deleted or rejected
	BEGIN
		UPDATE
			TTTForum_Forums
		SET
			PostsToModerate = ((SELECT PostsToModerate FROM TTTForum_Forums WHERE ForumID = @ForumID) - 1)
		WHERE
			ForumID = @ForumID
	END

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumModerator
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumModerator
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumModerator
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_GetForumModerator
(
	@ForumID	int,
	@UserID	int
	
)
 AS
	-- get a list of forum moderators
		SELECT 
		FM.UserID, 
		'FullName' = U.FirstName + ' ' + U.LastName,
		U.Email,
		U.UserName,
       		U.FirstName,
       		U.LastName,
       		U.Unit,
       		U.Street,
       		U.City,
       		U.Region,
       		U.Country,
       		U.PostalCode,
		FU.Alias,
		FU.URL,
		FU.TimeZone,
		FU.MSN,
		FU.AIM,
		FU.ICQ,
		FU.PostCount,
		FU.LastActivity,
		FU.LastForumsView,
		FU.LastThreadView,
		FU.IsTrusted,
		FM.EmailNotification, 
		FM.CreatedDate, 
		FM.PostsModerated
	FROM 
		TTTForum_Moderators FM
	INNER JOIN Users U on U.UserID = FM.UserID
	INNER JOIN TTTForum_Users FU on FU.DNNUserID = FM.UserID	
	WHERE 
		ForumID = @ForumID AND
		FM.UserID = @UserID

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumModerators
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumModerators
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumModerators
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_GetForumModerators
(
	@ForumID	int
	
)
 AS
IF @ForumID > 0
	BEGIN
	-- get a list of forum moderators
		SELECT 
		FM.UserID, 
		'FullName' = U.FirstName + ' ' + U.LastName,
		U.Email,
		U.UserName,
       		U.FirstName,
       		U.LastName,
       		U.Unit,
       		U.Street,
       		U.City,
       		U.Region,
       		U.Country,
       		U.PostalCode,
		FU.Alias,
		FU.URL,
		FU.TimeZone,
		FU.MSN,
		FU.AIM,
		FU.ICQ,
		FU.PostCount,
		FU.LastActivity,
		FU.LastForumsView,
		FU.LastThreadView,
		FU.IsTrusted,
		FM.EmailNotification, 
		FM.CreatedDate, 
		FM.PostsModerated
	FROM 
		TTTForum_Moderators FM
	INNER JOIN Users U on U.UserID = FM.UserID
	INNER JOIN TTTForum_Users FU on FU.DNNUserID = FM.UserID	
	WHERE 
		ForumID = @ForumID	
	END
ELSE
	BEGIN
		-- get a list of all moderators
		SELECT 
		FM.UserID, 
		'FullName' = U.FirstName + ' ' + U.LastName,
		U.Email,
		U.UserName,
       		U.FirstName,
       		U.LastName,
       		U.Unit,
       		U.Street,
       		U.City,
       		U.Region,
       		U.Country,
       		U.PostalCode,
		FU.Alias,
		FU.URL,
		FU.TimeZone,
		FU.MSN,
		FU.AIM,
		FU.ICQ,
		FU.PostCount,
		FU.LastActivity,
		FU.LastForumsView,
		FU.LastThreadView,
		FU.IsTrusted,
		FM.EmailNotification, 
		FM.CreatedDate, 
		FM.PostsModerated
	FROM 
		TTTForum_Moderators FM
	INNER JOIN Users U on U.UserID = FM.UserID
	INNER JOIN TTTForum_Users FU on FU.DNNUserID = FM.UserID	
END

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForums
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForums
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForums
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_GetForums
(
	@UserID int
)
 AS
	-- if Moderators.ForumID = 0 for this user, then they can moderate ALL forums
	IF EXISTS(SELECT NULL FROM TTTForum_Moderators (nolock) WHERE UserID=@UserID AND ForumID=0)
		-- return all forums
		SELECT
			ForumID,
			ForumGroupId,
			PortalID,
			ModuleID,
			Name,
			Description,
			CreatedDate,
			IsModerated,
			PostsToModerate,			
			IsActive,
			SortOrder
		FROM 
			TTTForum_Forums
		WHERE 	
			IsActive = 1 AND
			IsModerated = 1
		ORDER BY 
			SortOrder
	ELSE
		-- return only forums this user can moderate
		SELECT
			ForumID,
			ForumGroupId,
			PortalID,
			ModuleID,
			Name,
			Description,
			CreatedDate,
			IsModerated,
			PostsToModerate,			
			IsActive,
			SortOrder
		FROM 
			TTTForum_Forums
		WHERE 
			IsActive = 1 AND 
			IsModerated = 1 AND
			ForumID IN (SELECT ForumID FROM TTTForum_Moderators (nolock) WHERE UserID = @UserID)
		ORDER BY 
			SortOrder

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumsByUser
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumsByUser
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetForumsByUser
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_GetForumsByUser
(
	@UserID	int
)
 AS
	-- determine if this user can moderate ALL forums
	IF EXISTS(SELECT NULL FROM TTTForum_Moderators (nolock) WHERE ForumID = 0 AND UserID = @UserID)
		SELECT ForumID, ForumName = 'All Forums', EmailNotification, CreatedDate FROM TTTForum_Moderators (nolock)
		WHERE ForumID = 0 AND UserID = @UserID
	ELSE
		-- get all of the forums moderated by this particular user
		SELECT
			M.ForumID,
			EmailNotification,
			ForumName = F.Name,
			M.CreatedDate
		FROM TTTForum_Moderators M (nolock)
			INNER JOIN TTTForum_Forums F (nolock) ON
				F.ForumID = M.ForumID
		WHERE UserID = @UserID

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetPosts
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetPosts
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_GetPosts
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_GetPosts
(
	@ForumID		int
)
AS
--DECLARE @StartSortOrder int
--DECLARE @StopSortOrder int
--SELECT @StartSortOrder = @ModeratePage*@PostsPerPage
--SELECT @StopSortOrder = @StartSortOrder + @PostsPerPage - 1
SELECT 
			ParentPostID,	-- Post fields
			P.UserID,
			RemoteAddr,
			Notify,
			Subject,
			Body,
			PostDate,
			P.ThreadID,
			T.ForumID,
			PostLevel,
			TreeSortOrder,
			FlatSortOrder,
			PostID,
			P.IsApproved,
			IsLocked,
			Alias,				-- User fields	
			UserAvatar,
			Avatar,
			LastModifiedDate,
			LastModifiedAuthorID,
			LastModifiedAuthor,
			PostCount
		FROM
			TTTForum_Posts P
			Inner Join TTTForum_Users U On P.UserID = U.DNNUserID
			Inner Join TTTForum_Threads T On P.ThreadID = T.ThreadID
		WHERE
			T.ForumID = @ForumID AND
			U.DNNUserID = P.UserID AND
			P.IsApproved = 0 
		ORDER BY
			FlatSortOrder

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_ModeratorPostCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ModeratorPostCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_ModeratorPostCount
----------------------------------------------------

ALTER procedure [dbo].TTTForum_Moderate_ModeratorPostCount
(
	@UserID 	int,
	@ForumID 	int	
)
AS
UPDATE
		TTTForum_Moderators
	SET 	
		PostsModerated = ((SELECT PostsModerated FROM TTTForum_Moderators WHERE UserID = @UserID AND ForumID = @ForumID) + 1)
	WHERE
		UserID = @UserID  AND ForumID = @ForumID

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_RejectPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_RejectPost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_RejectPost
----------------------------------------------------

ALTER procedure [dbo].TTTForum_Moderate_RejectPost
(
	@PostID	int,
	@RejectedBy	int,
	@Notes		nvarchar(1024)
)
AS
DECLARE @ForumID int
DECLARE @ThreadID int
DECLARE @PostLevel int
DECLARE @UserID	int
DECLARE @IsPinned	bit
DECLARE @PostDate DateTime
DECLARE @Image	nvarchar(255)	
-- first make sure that the post is ALREADY non-approved
IF (SELECT IsLocked FROM TTTForum_Posts (nolock) WHERE PostID = @PostID) = 1
BEGIN
	print 'Post is already locked'
	SELECT 0
	RETURN
END
ELSE
BEGIN
	print 'Post is not locked'
	-- Get details about the thread and forum this post belongs in
	SELECT		
		@ThreadID	 = ThreadID,
		@PostLevel	 = PostLevel,
		@PostDate  	= PostDate,
		@UserID	= UserID		
	FROM
		TTTForum_Posts
	WHERE
		PostID = @PostID
	
	-- Approve the post
	UPDATE 
		TTTForum_Posts
	SET 
		IsApproved = 1,
		IsLocked = 1
	WHERE 
		PostID = @PostID
	SELECT  
		@ForumID =  ForumID		
	FROM 
		TTTForum_Threads
	WHERE
		ThreadID = @ThreadID
	
	EXEC TTTForum_Moderate_ForumPostCount @ForumID, @PostID, @UserID, 'reject'	
	-- Increase moderator approved posts count
	EXEC TTTForum_Moderate_ModeratorPostCount @RejectedBy, @ForumID
	
	INSERT INTO
		TTTForum_ModerationAudit
	VALUES
		(GetDate(), @PostID, @RejectedBy, 'Reject', @Notes)
	-- Send back a success code
	-- SELECT 1
	
END

GO
----------------------------------------------------
-- dbo.TTTForum_Moderate_UserCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_UserCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Moderate_UserCreateUpdateDelete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Moderate_UserCreateUpdateDelete
(
	
	@ForumID		 int,
	@UserID		int,	
	@EmailNotification	bit,	
	@Action		int
)
AS
-- CREATE
IF @Action = 0
BEGIN
	-- Create a new moderator record
	IF NOT EXISTS(SELECT ForumID FROM TTTForum_Moderators WHERE ForumID = @ForumID AND UserID = @UserID)
	BEGIN
		INSERT INTO 
			TTTForum_Moderators
			(
			ForumID,
			UserID,
			EmailNotification,
			CreatedDate					
			)
		VALUES 
			(			
			@ForumID,
			@UserID,
			@EmailNotification,
			GetDate()			
			)
	
		-- new moderator will be trusted
		UPDATE 
			TTTForum_Users
		SET
			IsTrusted = 1
		WHERE 
			DNNUserID = @UserID
	
	END
END		
-- UPDATE
ELSE IF @Action = 1
BEGIN
	IF EXISTS(SELECT ForumID FROM TTTForum_Moderators WHERE ForumID = @ForumID AND UserID = @UserID)
	BEGIN
		UPDATE
			TTTForum_Moderators
		SET
			EmailNotification = @EmailNotification		
		WHERE 
			ForumID = @ForumID	AND
			UserID = @UserID
			
	END
END
-- DELETE
ELSE IF @Action = 2
BEGIN
	DELETE TTTForum_Moderators WHERE ForumID = @ForumID AND UserID = @UserID
	
END

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateForum_CreateDeleteRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateForum_CreateDeleteRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateForum_CreateDeleteRoles
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateForum_CreateDeleteRoles
@ForumID 	int,
@RoleID 	int,
@Add		bit
AS
IF @Add = 1
BEGIN
	IF NOT EXISTS (
    		SELECT 
       			RoleID
   		 FROM 
       			TTTForum_PrivateForums
    		WHERE 
        			ForumID = @ForumID AND
			RoleID = @RoleID
		)
	BEGIN
		INSERT
			TTTForum_PrivateForums
			(ForumID,
			RoleID)			
		VALUES
			(@ForumID,
			@RoleID)
			
	END
END
IF @Add = 0
BEGIN
	DELETE
		TTTForum_PrivateForums
	WHERE
		ForumID = @ForumID
	AND
		RoleID = @RoleID
END

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateForum_GetRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateForum_GetRoles
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateForum_GetRoles
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateForum_GetRoles
@ForumID int
AS
SELECT 
	RoleID
	
FROM	
	TTTForum_PrivateForums
	
WHERE
	ForumID = @ForumID

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_Add
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_Add
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_Add
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateMessage_Add
@SenderId       int,
@ReceiverId	int,
@Subject	nvarchar(255),
@Message	text
as
INSERT INTO
	PrivateMessages (SenderId, ReceiverId, Subject, Message)
	VALUES(@SenderId, @ReceiverId, @Subject, @Message)
INSERT INTO
	PrivateMessages(SenderId, ReceiverId, Subject, Message, OriginalMessageId)
	VALUES(@SenderId, @ReceiverId, @Subject, @Message, @@Identity)

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_Delete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_Delete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_Delete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateMessage_Delete
@MessageId       int
as
DELETE FROM 
	PrivateMessages 
WHERE 
	MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetCount
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateMessage_GetCount
@UserId       int
as
SELECT     COUNT(*)
FROM         PrivateMessages
WHERE     (ReceiverId = @UserId and OriginalMessageId is Null)

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetInbox
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetInbox
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetInbox
----------------------------------------------------

ALTER procedure [dbo].TTTForum_PrivateMessage_GetInbox
@UserId       int,
@SortField varchar(100),
@SortDirection varchar(4)
AS
declare @strSQL nvarchar(1000)
declare @UserTimeZone int
declare @ServerTimeZone int
declare @TimeDiff int
Set @TimeDiff = '0'
Set @UserTimeZone = null
Set @ServerTimeZone = null
SELECT @UserTimeZone = TimeZone FROM TTTForum_Users WHERE TTTForum_Users.DNNUserID = @UserId
Select @ServerTimeZone = SettingValue  FROM HostSettings  WHERE HostSettings.SettingName = 'TimeZone'
if @UserTimeZone IS NOT NULL AND @ServerTimeZone IS NOT NULL 
Begin
Select @TimeDiff = @UserTimeZone - @ServerTimeZone
end
if @SortField <> ''  begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.ReceiverId,
			PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ',PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername 
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.receiverid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is null ORDER BY ' + @SortField + ' ' + @SortDirection
end
else begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.ReceiverId, PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ', PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.receiverid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is null ORDER BY PrivateMessages.MessageRead ASC, PrivateMessages.DateCreated DESC'
end
exec(@strSQL)

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetOutbox
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetOutbox
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetOutbox
----------------------------------------------------

ALTER procedure [dbo].TTTForum_PrivateMessage_GetOutbox
@UserId       int,
@SortField varchar(100),
@SortDirection varchar(4)
AS
declare @strSQL nvarchar(1000)
declare @UserTimeZone int
declare @ServerTimeZone int
declare @TimeDiff int
Set @TimeDiff = '0'
Set @UserTimeZone = null
Set @ServerTimeZone = null
SELECT @UserTimeZone = TimeZone FROM TTTForum_Users WHERE TTTForum_Users.DNNUserID = @UserId
Select @ServerTimeZone = SettingValue  FROM HostSettings  WHERE HostSettings.SettingName = 'TimeZone'
if @UserTimeZone IS NOT NULL AND @ServerTimeZone IS NOT NULL 
Begin
Select @TimeDiff = @UserTimeZone - @ServerTimeZone
end
if @SortField <> ''  begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId,
			PrivateMessages.ReceiverId, PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ', PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername 
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.senderid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is not null ORDER BY ' + @SortField + ' ' + @SortDirection
end
else begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.ReceiverId, PrivateMessages.Subject,
			PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(3)) + ', PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.senderid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is not null ORDER BY PrivateMessages.MessageRead ASC, PrivateMessages.DateCreated DESC'
end
exec(@strSQL)

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetSingle
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetSingle
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_GetSingle
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateMessage_GetSingle
	@MessageId int
as
SELECT     
	Pms.MessageId, 
	Pms.SenderId, 
	Pms.Subject, 
	Pms.Message, 
	Pms.MessageRead, 
	Pms.OriginalMessageId, 
	Pms.DateCreated, 
	'UserID' = Fur.DNNUserID,
	Fur.Alias
FROM         PrivateMessages Pms INNER JOIN
                      TTTForum_Users Fur ON Pms.SenderId = Fur.DNNUserID
WHERE
	Pms.MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_UpdateRead
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_UpdateRead
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_UpdateRead
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateMessage_UpdateRead
@MessageId       int
as
UPDATE
	PrivateMessages
SET
	MessageRead = '1'
WHERE 
	MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_UpdateUnRead
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_UpdateUnRead
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_PrivateMessage_UpdateUnRead
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_PrivateMessage_UpdateUnRead
@MessageId       int
as
UPDATE
	PrivateMessages
SET
	MessageRead = '0'
WHERE 
	MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.TTTForum_SearchGetResults
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_SearchGetResults
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_SearchGetResults
----------------------------------------------------

ALTER PROCEDURE [dbo].[TTTForum_SearchGetResults]
(
	@WhereClause	nvarchar(3500),
	@PageIndex		int,
	@PageSize		int,
	@UserID		int,
	@PortalID		int
)
AS
-- Create a temp table to store the select results
CREATE TABLE #PageIndex 
(
	IndexID	int IDENTITY (1, 1) NOT NULL,
	PostID	int
)
-- Create dynamic SQL to populate temporary table
DECLARE @sql nvarchar(4000)
SELECT  @sql =	'INSERT INTO #PageIndex(PostID) SELECT TTTForum_Posts.PostID ' + 
				'FROM TTTForum_Posts (nolock), TTTForum_Threads (nolock) ' +
				'Left Outer Join TTTForum_Forums On TTTForum_Threads.ForumID = TTTForum_Forums.ForumID ' +
				'WHERE TTTForum_Posts.ThreadID = TTTForum_Threads.ThreadID ' +
				'AND TTTForum_Posts.IsApproved = 1 ' +
				'AND TTTForum_Posts.IsLocked = 0 ' +
				'AND TTTForum_Forums.PortalID = ' + CONVERT(varchar, @PortalID) + ' ' +
				@WhereClause + ' ORDER BY PostDate DESC'
EXEC(@sql)
-- All of the rows are inserted into the table - now select the correct subset
DECLARE @PageLowerBound int
DECLARE @PageUpperBound int
DECLARE @RecordCount	int
-- Set the page bounds
SET @PageLowerBound = @PageSize * @PageIndex
SET @PageUpperBound = @PageLowerBound + @PageSize + 1
SELECT @RecordCount = COUNT(*) FROM #PageIndex
-- Select the data out of the temporary table
SELECT
	PageIndex.PostID,
	TTTForum_Posts.ThreadID,
	TTTForum_Posts.Subject,
	TTTForum_Posts.PostDate,
	TTTForum_Users.Alias,
	TTTForum_Threads.ForumID,
	RecordCount = @RecordCount
FROM
	TTTForum_Users, TTTForum_Threads, TTTForum_Posts, #PageIndex PageIndex
WHERE
	TTTForum_Users.DNNUserID	= TTTForum_Posts.UserID	AND
	TTTForum_Threads.ThreadID	= TTTForum_Posts.ThreadID	AND
	(TTTForum_Threads.ForumID NOT IN (SELECT ForumID FROM TTTForum_PrivateForums) OR 
	ForumID IN (SELECT ForumID FROM TTTForum_PrivateForums WHERE RoleID IN (SELECT RoleID FROM UserRoles WHERE UserID = @UserID))) AND
	PageIndex.PostID		= TTTForum_Posts.PostID	AND
	PageIndex.IndexID		> @PageLowerBound		AND
	PageIndex.IndexID		< @PageUpperBound
ORDER BY
	PageIndex.IndexID



GO
----------------------------------------------------
-- dbo.TTTForum_Statistics_Get
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Statistics_Get
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Statistics_Get
----------------------------------------------------

ALTER	PROCEDURE [dbo].TTTForum_Statistics_Get 
(
	@PortalID int ,
	@ModuleID int,
	@UpdateWindow int = 12
)
AS
-- Do we need to update the statistics?
DECLARE @LastUpdate datetime
DECLARE @DateWindow datetime
SET @LastUpdate = ISNULL((SELECT MAX(DateCreated) FROM TTTForum_Statistics_Site), '1/1/1797')
SET @DateWindow = DATEADD(hh, -@UpdateWindow, GetDate())
if (@LastUpdate <  @DateWindow)
	BEGIN
		exec TTTForum_Statistics_UpdateSite 0, 0, @PortalID, @ModuleID
		--exec TTTForum_Statistics_UpdateUserPostRank
	END
-- SELECT current statistics
SELECT TOP 1
	S.*,
	MostReadSubject = (SELECT Subject FROM TTTForum_Posts WHERE PostID = S.MostReadPostID),
	MostViewsSubject = (SELECT Subject FROM TTTForum_Posts WHERE PostID = S.MostViewsPostID),
	MostActiveSubject = (SELECT Subject FROM TTTForum_Posts WHERE PostID = S.MostActivePostID)
FROM
	TTTForum_Statistics_Site S (nolock)
WHERE
	ModuleID = @ModuleID
ORDER BY DateCreated DESC
-- SELECT TOP 10 Users
SELECT TOP 10
	U.UserID,
	U.Email,
	FUR.Alias,	
	FUR.LastForumsView,
	FUR.LastThreadView,
	FUR.LastActivity,	
	FUR.IsTrusted,
	FUR.PostCount	
FROM	
	TTTForum_Users FUR (nolock),
	Users U	
	(nolock)
	INNER JOIN UserPortals UP
	ON U.UserID = UP.UserID
WHERE	
	U.UserID = FUR.DNNUserID 
	AND FUR.PostCount > 0
	AND UP.PortalID = @PortalID
ORDER BY
	FUR.PostCount  DESC
-- SELECT top 10 Moderators
SELECT TOP 10
	U.UserID,
	U.Email,
	FUR.Alias,	
	FUR.LastForumsView,
	FUR.LastThreadView,
	FUR.LastActivity,	
	FUR.IsTrusted,
	FUR.PostCount,	
	M.PostsModerated
FROM
	TTTForum_Users FUR (nolock),	
	TTTForum_Moderators M (nolock),
	Users U
	(nolock)
	INNER JOIN UserPortals UP
	ON U.UserID = UP.UserID
WHERE
	U.UserID = FUR.DNNUserID AND
	M.UserID = FUR.DNNUserID AND	
	M.PostsModerated > 0 AND
	UP.PortalID = @PortalID
ORDER BY
	PostsModerated DESC
-- SELECT Moderator actions
SELECT
	Description,
	TotalActions
FROM
	TTTForum_ModerationAction (nolock)
ORDER BY 
	TotalActions DESC

GO
----------------------------------------------------
-- dbo.TTTForum_Statistics_UpdateSite
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Statistics_UpdateSite
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_Statistics_UpdateSite
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_Statistics_UpdateSite 
(
	@UpdateUserPostRank bit = 0,
	@UpdateMostActiveUserList bit = 0,
	@PortalID int,
	@ModuleID int	
)
AS
	-- Get summary information - Total Users, Total Posts, TotalTopics, DaysPosts, and DaysTopics
	DECLARE @TotalUsers int
	DECLARE @TotalPosts int
	DECLARE @TotalTopics int
	DECLARE @TotalModerators int
	DECLARE @TotalModeratedPosts int
	DECLARE @NewThreadsInPast24Hours int
	DECLARE @NewPostsInPast24Hours int	
	DECLARE @MostViewsPostID int
	DECLARE @MostActivePostID int		
	DECLARE @MostActiveUserID int
	DECLARE @NewUsersInPast24Hours int 
	DECLARE @MostReadPostID int 
	DECLARE @TotalAnonymousUsers int 
	DECLARE @NewestUserID int 
	SET NOCOUNT ON
	-- Reset top posters
	--IF @UpdateUserPostRank = 1
	--	exec forums_statistics_UpdateUserPostRank
	--IF @UpdateMostActiveUserList = 1
	--	exec forums_statistics_UpdateMostActiveUsers
	-- Total Anonymous Users 
	SET @TotalAnonymousUsers = 0
	-- SET @TotalAnonymousUsers = ISNULL((SELECT COUNT(UserID) FROM forums_AnonymousUsers), 0)
	
	-- Total Moderators 	
	SET @TotalModerators = ISNULL((	SELECT count(DISTINCT UserID) 
					FROM TTTForum_Moderators FM 
					(nolock)
					INNER JOIN TTTForum_Forums FF 
					(nolock)
					ON FM.ForumID = FF.ForumID
					WHERE FF.ModuleID = @ModuleID	
					), 0)
	
	-- Total Moderated Posts 	
	SET @TotalModeratedPosts = ISNULL((SELECT count(*) 
					FROM TTTForum_ModerationAudit MA					 	
					(nolock)	
					INNER JOIN UserPortals UP
					(nolock)
					ON MA.ModeratedBy = UP.UserID	
					WHERE UP.PortalID = @PortalID
					),0)
	
	-- Most viewed thread 	
	SET @MostViewsPostID = ISNULL((	SELECT TOP 1 T.ThreadID 
					FROM TTTForum_Threads T	
					(nolock)	
					INNER JOIN TTTForum_Forums FF 
					(nolock)
					ON T.ForumID = FF.ForumID							
					WHERE T.IsApproved = 1
					AND FF.ModuleID = @ModuleID
					ORDER By T.[Views] DESC
					), 0)
	-- Most active thread 	
	SET @MostActivePostID = ISNULL(( SELECT TOP 1 T.ThreadID 
					FROM TTTForum_Threads T	
					(nolock)	
					INNER JOIN TTTForum_Forums FF 
					(nolock)
					ON T.ForumID = FF.ForumID								
					WHERE T.IsApproved = 1
					AND FF.ModuleID = @ModuleID
					ORDER BY T.Replies DESC
					), 0)
	-- Most active user	
	SET @MostActiveUserID = ISNULL(( SELECT TOP 1 FU.UserID
					FROM TTTForum_Users FU 	
					(nolock)	
					INNER JOIN UserPortals UP
					(nolock)
					ON FU.DNNUserID = UP.UserID	
					WHERE FU.EnableDisplayInMemberList = 1
					AND UP.PortalID = @PortalID
					ORDER BY 
					FU.PostCount DESC
					), 0)
	-- Newest user - no need in DNN	
	 SET @NewestUserID = 0
	-- SET @NewestUserID = ISNULL(
	--				(
	--					SELECT TOP 1 
	--						 U.UserID
	--					FROM 
	--						TTTForum_Users U,
	--						TTTForum_UserProfile P
	--					WHERE
	--						U.UserID = P.UserID AND
	--						P.EnableDisplayInMemberList = 1
	--					ORDER BY 
	--						DateCreated DESC
	--			), 0)
	-- Most read posts
	SET @MostReadPostID = 0	
	-- SET @MostReadPostID = ISNULL(
	--				(
	--					SELECT TOP 1 
	--						 T.ThreadID
	--					FROM 
	--						TTTForum_Threads T,
	--						TTTForum_Posts P							
	--					WHERE 	
	--						P.PostDate > DateAdd(d, -2, GetDate()) AND
	--						T.ThreadID = P.PostID AND
	--						P.IsApproved = 1
	--					ORDER BY 
	--						(SELECT count(ThreadID) FROM TTTForum_ThreadsRead T WHERE P.PostID = T.ThreadID) DESC
	--				), 0)
	-- Other stats 
	SELECT
		-- Total Users		
		@TotalUsers = ISNULL( (SELECT COUNT(*) 
					FROM TTTForum_Users FU
					(nolock)
					Inner Join UserPortals U 
					(nolock)
					ON FU.DNNUserID = U.UserID					
					WHERE U.PortalID = @PortalID) ,0) ,
		-- Total Posts		
		--@TotalPosts = ISNULL( (SELECT COUNT(*) FROM TTTForum_Posts) + (SELECT COUNT(*) FROM TTTForum_PostsArchive (nolock)), 0),
		@TotalPosts = ISNULL( (Select SUM(Replies + 1) 
					FROM TTTForum_Threads T
					(nolock)
					INNER JOIN TTTForum_Forums FF
					(nolock)
					ON FF.ForumID = T.ForumID
					WHERE FF.ModuleID = @ModuleID
					AND T.IsApproved = 1), 0),
		-- Total Topics 		
		--@TotalTopics = ISNULL( (SELECT COUNT(*) FROM TTTForum_Threads) + (SELECT COUNT(*) FROM TTTForum_PostsArchive WHERE ParentID = PostID), 0),
		@TotalTopics = ISNULL( (SELECT COUNT(*) 
					FROM TTTForum_Threads T	
					(nolock)		
					INNER JOIN TTTForum_Forums FF 
					(nolock)
					ON T.ForumID = FF.ForumID												
					WHERE FF.ModuleID = @ModuleID
					AND T.IsApproved = 1), 0),
		
		-- Total Posts in past 24 hours 		
		@NewPostsInPast24Hours = ISNULL( ( SELECT COUNT(*) 
							FROM TTTForum_Posts P 
							(nolock) 
							Inner JOIN TTTForum_Threads T 
							(nolock)
							ON T.ThreadID = P.ThreadID							
							Inner JOIN TTTForum_Forums FF
							(nolock)		
							ON FF.ForumID = T.ForumID											
							WHERE FF.ModuleID = @ModuleID
							AND P.IsApproved = 1 
							AND P.IsLocked = 0 
							AND PostDate > DATEADD(dd,-1,getdate())
							), 0),
		-- Total Users in past 24 hours 
		 @NewUsersInPast24Hours = 0,	
		--@NewUsersInPast24Hours = ISNULL(
		--					(SELECT COUNT(*) FROM TTTForum_Users (nolock) WHERE DateCreated > DATEADD(dd,-1,getdate())
		--				), 0),
		-- Total Topics in past 24 hours	
		 @NewThreadsInPast24Hours = ISNULL((SELECT COUNT(*) 
						FROM TTTForum_Posts P 
						(nolock) 
						Inner JOIN TTTForum_Threads T 
						(nolock)
						ON T.ThreadID = P.ThreadID							
						Inner JOIN TTTForum_Forums FF
						(nolock)		
						ON FF.ForumID = T.ForumID											
						WHERE FF.ModuleID = @ModuleID
						AND P.IsApproved = 1 
						AND P.ParentPostID = 0 
						AND P.PostDate > DATEADD(dd,-1,getdate())
						), 0)
	
	INSERT INTO TTTForum_statistics_Site
	SELECT 
		DateCreated = GetDate(),
		TotalUsers = @TotalUsers,
		TotalPosts = @TotalPosts,
		TotalModerators = @TotalModerators,
		TotalModeratedPosts = @TotalModeratedPosts,	
		TotalAnonymousUsers = @TotalAnonymousUsers,	
		TotalTopics = @TotalTopics,		
		NewPostsInPast24Hours = @NewPostsInPast24Hours,
		NewThreadsInPast24Hours = @NewThreadsInPast24Hours,
		NewUsersInPast24Hours = @NewUsersInPast24Hours,		
		MostViewsPostID = @MostViewsPostID,
		MostActivePostID = @MostActivePostID,
		MostActiveUserID = @MostActiveUserID,		
		MostReadPostID = @MostReadPostID,
		NewestUserID = @NewestUserID,	
		ModuleID = @ModuleID	
	SET NOCOUNT OFF
  
  delete
  from   TTTForum_Statistics_Site
  where  datediff(day,DateCreated,getdate()) > 3
  

GO
----------------------------------------------------
-- dbo.TTTForum_TrackingForumCreateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingForumCreateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingForumCreateDelete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_TrackingForumCreateDelete
@ForumID 	int,
@UserID 	int,
@Add		bit
AS
IF @Add = 1
BEGIN
	IF NOT EXISTS (SELECT DNNUserID   FROM TTTForum_TrackedForums WHERE ForumID = @ForumID AND DNNUserID = @UserID)
	BEGIN
		INSERT
			TTTForum_TrackedForums
			(ForumID,
			DNNUserID,
			CreatedDate)
		VALUES
			(@ForumID,
			@UserID,
			GetDate())
	END
END
IF @Add = 0
BEGIN
	DELETE
		TTTForum_TrackedForums
	WHERE
		ForumID = @ForumID
	AND
		DNNUserID = @UserID
END

GO
----------------------------------------------------
-- dbo.TTTForum_TrackingForumGet
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingForumGet
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingForumGet
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_TrackingForumGet
(
	@UserID int
)
AS
SELECT
	T.ForumID,
	F.Name 
FROM
	TTTForum_Forums F
LEFT OUTER JOIN TTTForum_TrackedForums T ON F.ForumID = T.ForumID
WHERE
	T.DNNUserId = @UserID

GO
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadCreateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadCreateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadCreateDelete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_TrackingThreadCreateDelete
@ThreadID 	int,
@UserID 	int,
@Add		bit
AS
IF @Add = 1
BEGIN
	INSERT
		TTTForum_TrackedThreads
		(ThreadID,
		DNNUserID,
		CreatedDate)
	VALUES
		(@ThreadID,
		@UserID,
		GetDate())
END
IF @Add = 0
BEGIN
	DELETE
		TTTForum_TrackedThreads
	WHERE
		ThreadID = @ThreadID
	AND
		DNNUserID = @UserID
END

GO
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadEmails
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadEmails
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadEmails
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_TrackingThreadEmails
	@PostID	int
AS
	-- First get the threadID of the Post
	DECLARE @ThreadID int
	DECLARE @UserID int
	DECLARE @ForumID int
	SELECT 
		@ThreadID = ThreadID, 
		@UserID = UserID 
	FROM 
		TTTForum_Posts (nolock) 
	WHERE 
		PostID = @PostID
CREATE TABLE #EmailList 
(
	UserEmail	nvarchar(255)
)
	-- get ForumID
	SELECT
		@ForumID = ForumID
	FROM	
		TTTForum_Threads (nolock)
	WHERE
		ThreadID = @ThreadID
INSERT INTO #EmailList (UserEmail)
	-- now, get all of the emails of the users who are tracking this thread
	SELECT
		Email
	FROM 
		Users U (nolock),
		TTTForum_TrackedThreads T		
	WHERE
		U.UserID = T.DNNUserID AND
		T.ThreadID = @ThreadID 
INSERT INTO #EmailList (UserEmail)
	SELECT
		Email
	FROM		
		Users U (nolock),
		TTTForum_TrackedForums F
	WHERE
		U.UserID = F.DNNUserID AND
		F.ForumID = @ForumID
SELECT 
	UserEmail As Email
FROM 
	#EmailList
GROUP BY 
	UserEmail

GO
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadExists
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadExists
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_TrackingThreadExists
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_TrackingThreadExists
(
	@ThreadID int,
	@UserID int	
)
AS	
	--DECLARE @TrackingThread bit
	IF EXISTS
		(SELECT 
			ThreadID 
		FROM 
			TTTForum_TrackedThreads (nolock) 
		WHERE 
			ThreadID = @ThreadID AND DNNUserID = @UserID
		)
		SELECT IsUserTrackingThread = 1
	ELSE
		SELECT IsUserTrackingThread = 0

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateForum
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForum
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForum
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateForum
(
	@ForumGroupId int,
	@ForumId	int,
	@ForumName	nvarchar(256),
	@Description	nvarchar(256),
	@IsModerated	bit,
	@IsActive	bit,
	@IsIntegrated	bit,
	@IntegratedGallery	nvarchar(256),
	@IntegratedAlbumName nvarchar(256)
	
)
 AS
	IF @ForumName IS NULL
		BEGIN
			DELETE
				TTTForum_Forums
			WHERE
				ForumId = @ForumId
			EXEC TTTForum_UpdateForumCount @ForumGroupID, 0
		END
	ELSE
		-- insert a new forum
		UPDATE 
			TTTForum_Forums 
		SET 
			Name = @ForumName,
			Description = @Description,
			IsModerated = @IsModerated,
			IsActive = @IsActive,
			IsIntegrated = @IsIntegrated,
			IntegratedGallery = @IntegratedGallery,
			IntegratedAlbumName = @IntegratedAlbumName			
	
		WHERE 
			ForumId = @ForumId

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateForumCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumCount
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateForumCount
(
	@ForumGroupID int,
	@Add		bit	
)
AS
IF (@Add = 1)
  BEGIN
	UPDATE
	TTTForum_ForumGroups
	SET
	ForumCount = (SELECT ForumCount FROM TTTForum_ForumGroups WHERE ForumGroupID = @ForumGroupID) + 1	
	WHERE
	ForumGroupID = @ForumGroupID    
  END
ELSE
  BEGIN
	UPDATE
	TTTForum_ForumGroups
	SET
	ForumCount = (SELECT ForumCount FROM TTTForum_ForumGroups WHERE ForumGroupID = @ForumGroupID) - 1	
	WHERE
	ForumGroupID = @ForumGroupID        
  END

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateForumGroupSortOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumGroupSortOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumGroupSortOrder
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateForumGroupSortOrder
(
     @ForumGroupID int,
     @MoveUp bit
)
AS
BEGIN
DECLARE @currentSortValue int
DECLARE @replaceSortValue int
-- Get the current sort order
SELECT @currentSortValue = SortOrder FROM TTTForum_ForumGroups WHERE ForumGroupID = @forumGroupID
-- Move the item up or down?
IF (@MoveUp = 1)
  BEGIN
    IF (@currentSortValue != 0)
      BEGIN
        SET @replaceSortValue = @currentSortValue - 1
        UPDATE TTTForum_ForumGroups SET SortOrder = @currentSortValue WHERE SortOrder = @replaceSortValue
        UPDATE TTTForum_ForumGroups SET SortOrder = @replaceSortValue WHERE ForumGroupID = @forumGroupID
      END
  END
ELSE
  BEGIN
    IF (@currentSortValue < (SELECT MAX(ForumGroupID) FROM TTTForum_ForumGroups))
    BEGIN
      SET @replaceSortValue = @currentSortValue + 1
      UPDATE TTTForum_ForumGroups SET SortOrder = @currentSortValue WHERE SortOrder = @replaceSortValue
      UPDATE TTTForum_ForumGroups SET SortOrder = @replaceSortValue WHERE ForumGroupID = @forumGroupID
    END
  END
END

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateForumPostInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumPostInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumPostInfo
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateForumPostInfo
(
	@ForumID int ,
	@PostID int ,	
	@PostAuthorID int 
	
)
AS
DECLARE @PostAuthor nvarchar (64)
	SELECT @PostAuthor = (Alias)
	FROM   TTTForum_Users
	WHERE DNNUserID = @PostAuthorID
UPDATE
	TTTForum_Forums
SET
	TotalPosts = ((SELECT TotalPosts FROM TTTForum_Forums WHERE ForumID = @ForumID) + 1),
	MostRecentPostID = @PostID,
	MostRecentPostAuthorID = @PostAuthorID,
	MostRecentPostAuthor = @PostAuthor,
	MostRecentPostDate = GetDate()
WHERE
	ForumID = @ForumID

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateForumSortOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumSortOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumSortOrder
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateForumSortOrder
(
     @ForumGroupID int,
     @ForumID int,
     @MoveUp bit
)
AS
BEGIN
DECLARE @currentSortValue int
DECLARE @replaceSortValue int
-- Get the current sort order
SELECT @currentSortValue = SortOrder FROM TTTForum_Forums 
	WHERE ForumGroupID = @ForumGroupID
	AND ForumID = @ForumID	
-- Move the item up or down?
IF (@MoveUp = 1)
  BEGIN
    IF (@currentSortValue != 0)
      BEGIN
        SET @replaceSortValue = @currentSortValue - 1
        UPDATE TTTForum_Forums SET SortOrder = @currentSortValue WHERE SortOrder = @replaceSortValue AND ForumGroupID = @ForumGroupID
        UPDATE TTTForum_Forums SET SortOrder = @replaceSortValue WHERE ForumID = @forumID AND ForumGroupID = @ForumGroupID
      END
  END
ELSE
  BEGIN
    IF (@currentSortValue < (SELECT MAX(ForumID) FROM TTTForum_Forums WHERE ForumGroupID = @ForumGroupID))
    BEGIN
      SET @replaceSortValue = @currentSortValue + 1
        UPDATE TTTForum_Forums SET SortOrder = @currentSortValue WHERE SortOrder = @replaceSortValue AND ForumGroupID = @ForumGroupID
        UPDATE TTTForum_Forums SET SortOrder = @replaceSortValue WHERE ForumID = @forumID AND ForumGroupID = @ForumGroupID
   END
  END
END

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateForumThreadInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumThreadInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateForumThreadInfo
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateForumThreadInfo
(
	@ForumID int,
	@ThreadID int
)
AS
UPDATE
	TTTForum_Forums
SET
	TotalThreads = ((SELECT TotalThreads FROM TTTForum_Forums WHERE ForumID = @ForumID) + 1),
	MostRecentThreadID = @ThreadID
WHERE
	ForumID = @ForumID

GO
----------------------------------------------------
-- dbo.TTTForum_UpdatePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdatePost
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdatePost
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdatePost
(
	@ThreadID	int,
	@PostID	int,
	@Notify		bit,
	@Subject	nvarchar(255),
	@Body		text,
	@IsPinned	bit,	
	@Image	nvarchar(255),
	@LastModifiedAuthorID	int,
	@LastModifiedAuthor nvarchar(50),
	@IsApproved	bit,
	@IsLocked	bit
)
AS
DECLARE @PinnedDate DateTime
UPDATE
	TTTForum_Posts
SET
	Subject	= @Subject,
	Body	= @Body,
	Notify	= @Notify,
	LastModifiedDate = GetDate(),
	IsApproved = @IsApproved,
	IsLocked = @IsLocked,
	LastModifiedAuthorID 	= @LastModifiedAuthorID,
	LastModifiedAuthor	= @LastModifiedAuthor
WHERE
	PostID = @PostID
	
	SET @PinnedDate = GetDate()
	EXEC TTTForum_UpdateThread @ThreadID, 0, @IsPinned, @PinnedDate, @Image

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateThread
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateThread
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateThread
(
	@ThreadID			int,
	@LastPostedPostID	int,
	@IsPinned			bit,
	@PinnedDate			datetime,
	@Image		nvarchar(255)
	
)
AS	
IF @LastPostedPostID <> 0  -- For reply, quote action
BEGIN
	UPDATE
		TTTForum_Threads
	SET
		LastPostedPostID	= @LastPostedPostID,
		Replies				= ((SELECT Replies FROM TTTForum_Threads WHERE ThreadID = @ThreadID) + 1)
	WHERE
		ThreadID = @ThreadID
END
ELSE -- For edit action for edit image & pinned only
BEGIN
	UPDATE
		TTTForum_Threads
	SET		
		IsPinned			= @IsPinned,
		PinnedDate			= @PinnedDate,
		[Image]				= @Image		
	WHERE
		ThreadID = @ThreadID
END

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateUserForumsView
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateUserForumsView
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateUserForumsView
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateUserForumsView
@DNNUserID   int
as
update TTTForum_Users
    set   LastForumsView = getdate()
where  DNNUserId = @DNNUserId

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateUserThreadView
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateUserThreadView
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateUserThreadView
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateUserThreadView
@DNNUserID   int
as
update TTTForum_Users
    set   LastThreadView = getdate()
where  DNNUserId = @DNNUserId

GO
----------------------------------------------------
-- dbo.TTTForum_UpdateUserViewType
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateUserViewType
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UpdateUserViewType
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UpdateUserViewType
(
	@DNNUserID		int,	
	@FlatView	 	bit
)
AS
UPDATE
	TTTForum_Users
SET
	FlatView		= @FlatView
	
WHERE
	DNNUserID = @DNNUserID

GO
----------------------------------------------------
-- dbo.TTTForum_UserCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserCreateUpdateDelete
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserCreateUpdateDelete
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UserCreateUpdateDelete
(
	@DNNUserID int,	
	@alias nvarchar(256),
	@UseRichText bit,
	@UserAvatar bit,
	@avatar nvarchar(256),
	@URL nvarchar(256),
	@Signature nvarchar(256),
	@TimeZone int,
	@Occupation nvarchar(256),
	@interests nvarchar(256),
	@MSN nvarchar(256),
	@Yahoo nvarchar(256),
	@AIM nvarchar(256),
	@ICQ nvarchar(256),
	@Skin nvarchar(256),
	@IsTrusted bit,
	@EnableThreadTracking bit,
	@EnableDisplayUnreadThreadsOnly bit,
	@EnableDisplayInMemberList bit,
	@EnablePrivateMessages bit,
	@EnableOnlineStatus bit,
	@Action int
)
AS
-- CREATE
IF @Action = 0
BEGIN
	-- Create a new forum user
	INSERT INTO 
		TTTForum_Users 
		(
			DNNuserID,			
			alias,
			UseRichText,
			userAvatar ,
			avatar,
			URL,
			Signature,
			TimeZone ,
			Occupation,
			interests,
			MSN,
			Yahoo,
			AIM,
			ICQ,
			Skin,
			IsTrusted ,
			EnableThreadTracking ,
			EnableDisplayUnreadThreadsOnly ,
			EnableDisplayInMemberList ,
			EnablePrivateMessages ,
			EnableOnlineStatus
		)
	VALUES 
		(
			@DNNuserID,			
			@alias ,
			@UseRichText ,
			@userAvatar ,
			@avatar ,
			@URL ,
			@Signature ,
			@TimeZone ,
			@Occupation,
			@interests,
			@MSN,
			@Yahoo,
			@AIM,
			@ICQ,
			@Skin,
			@IsTrusted ,
			@EnableThreadTracking ,
			@EnableDisplayUnreadThreadsOnly ,
			@EnableDisplayInMemberList ,
			@EnablePrivateMessages ,
			@EnableOnlineStatus
		)
END
-- UPDATE
ELSE IF @Action = 1
BEGIN
	IF EXISTS(SELECT DNNUserID FROM TTTForum_Users WHERE DNNUserID = @DNNUserID)
	BEGIN
		UPDATE
			TTTForum_Users
		SET		
			alias =		@alias, 
			UseRichText =	@UseRichText,
			userAvatar  =	@userAvatar,
			avatar =		@avatar, 
			URL =		@URL, 
			Signature =	@Signature, 
			TimeZone  =	@TimeZone, 
			Occupation =	@Occupation, 
			interests =	@interests,
			MSN =		@MSN, 
			Yahoo =	@Yahoo, 
			AIM =		@AIM, 
			ICQ =		@ICQ, 
			Skin =		@Skin, 
			IsTrusted  =	@IsTrusted, 
			EnableThreadTracking  = 		@EnableThreadTracking, 
			EnableDisplayUnreadThreadsOnly  =	@EnableDisplayUnreadThreadsOnly, 
			EnableDisplayInMemberList  =		@EnableDisplayInMemberList, 
			EnablePrivateMessages  =		@EnablePrivateMessages, 
			EnableOnlineStatus =			@EnableOnlineStatus 
				
		WHERE DNNUserID = @DNNUserID	
	END
END
-- DELETE
ELSE IF @Action = 2
BEGIN
	DELETE TTTForum_Users WHERE DNNUserID = @DNNUserID
END

GO
----------------------------------------------------
-- dbo.TTTForum_UserOnline_Get
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline_Get
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline_Get
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UserOnline_Get
@PortalId       int = 0
as
-- this is a modified version of GetActiveUsers from Scott McCulloch for TTTForum
SELECT     
	AU.ItemId, 
	AU.PortalId, 
	AU.SessionId, 
	AU.UserId,  
	AU.Location,
	AU.CreationDate, 
	AU.TabId, 
	AU.LastActiveDate, 
	AU.IP, 
	AU.Browser, 
	FU.Alias
FROM         
	ActiveUsers AU LEFT OUTER JOIN
	TTTForum_Users FU ON AU.UserId =FU.DNNUserID
WHERE   
	AU.PortalId = @PortalId  AND
	FU.EnableOnlineStatus = 1
ORDER BY 
	AU.CreationDate

GO
----------------------------------------------------
-- dbo.TTTForum_UserOnline_GetCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline_GetCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline_GetCount
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UserOnline_GetCount
@PortalId       int,
@GuestCount		int output,
@MemberCount	int output
as
select count(*) 
from ActiveUsers
where PortalId = @PortalId and UserId is null
select count(*) 
from ActiveUsers
where PortalId = @PortalId and UserId is not null

GO
----------------------------------------------------
-- dbo.TTTForum_UserOnline2_Get
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline2_Get
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline2_Get
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTForum_UserOnline2_Get
	@PortalID	int
AS
select 
	s1.ItemID,
	s1.PortalID,
	s1.SessionID,
	s1.UserID,
	s1.Location,
	s1.CreationDate,
	s1.TabID,
	s1.LastActiveDate,
	s1.IP,
	s1.Browser,
	FU.Alias
from
	SessionTracker s1, TTTForum_Users FU 
where
	s1.PortalID = @PortalID
	and
	s1.UserID = FU.DNNUserID
	and
	s1.CreationDate = (select max(CreationDate) from SessionTracker s2 where s1.UserID = s2.UserID)

GO
----------------------------------------------------
-- dbo.TTTForum_UserOnline2_GetCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline2_GetCount
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTForum_UserOnline2_GetCount
----------------------------------------------------

-- this is a modified version of GetActiveUsers from Scott McCulloch for TTTForum
ALTER procedure [dbo].TTTForum_UserOnline2_GetCount
	@PortalId       int,
	@GuestCount	int OUTPUT,
	@MemberCount	int OUTPUT,
	@UserCount	int OUTPUT,
	@NewToday	int OUTPUT,
	@NewYesterday	int OUTPUT,
	@LatestUsername	nvarchar(255) OUTPUT
as
select count(*) 
from SessionTracker
where PortalId = @PortalId and UserId is null
select 
	count(*)
from
	SessionTracker s1, Users
where
	s1.PortalID = @PortalID
	and
	s1.UserID = Users.UserID
	and
	s1.CreationDate = (select max(CreationDate) from SessionTracker s2 where s1.UserID = s2.UserID)
select count(*) 
from UserPortals
where PortalId = @PortalId
select count(*) 
from UserPortals
where PortalId = @PortalId and CreatedDate > DateAdd(d, -1, GetDate())
select count(*)
from UserPortals
where PortalId = @PortalId and CreatedDate > DateAdd(d, -2, GetDate()) and CreatedDate < DateAdd(d, -1, GetDate())
SELECT     
	Users_1.UserName
FROM         
	UserPortals UserPortals_1 INNER JOIN
        	Users Users_1 ON UserPortals_1.UserID = Users_1.UserID
WHERE     
	UserPortals_1.PortalID = @PortalID
	and (UserPortals_1.createddate =
                          (SELECT     MAX(createddate)
                            FROM          userportals))

GO
----------------------------------------------------
-- dbo.TTTGallery_GetIntegratedForum
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTGallery_GetIntegratedForum
----------------------------------------------------
----------------------------------------------------
-- dbo.TTTGallery_GetIntegratedForum
----------------------------------------------------

ALTER PROCEDURE [dbo].TTTGallery_GetIntegratedForum 
@GalleryID int
AS
	SELECT 
		F.ForumID As ForumID,	
		F.ModuleID As ModuleID,		
		F.IntegratedAlbumName As AlbumName,	
		'Integration' = F.Name + ' + ' + F.IntegratedAlbumName,
		M.TabID As TabID		
	FROM
		TTTForum_Forums F inner join Modules M on F.ModuleID = M.ModuleId
		
	WHERE
		IntegratedGallery = @GalleryID

GO
----------------------------------------------------
-- dbo.UpdateAdminModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateAdminModuleDefinitions
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateAdminModuleDefinitions
----------------------------------------------------

ALTER procedure [dbo].[UpdateAdminModuleDefinitions]
@Language       nvarchar(5),
@ModuleDefID    int,
@FriendlyName   nvarchar(128),
@Description    nvarchar(2000)
as

if not exists ( select * from ModuleDefinitionsNames where language = @language and ModuleDefID = @ModuleDefID )
begin
  insert into ModuleDefinitionsNames (
    ModuleDefID,
    language,
    FriendlyName,
    Description

  ) 
  values (
	@ModuleDefID,
    @language,
    @FriendlyName,
    @Description
  )
end
else
begin
  update ModuleDefinitionsNames
  set 
	FriendlyName   = @FriendlyName,
	Description    = @Description
  where language = @language
  and ModuleDefID = @ModuleDefID
end


GO
----------------------------------------------------
-- dbo.UpdateAnnouncement
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateAnnouncement
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateAnnouncement
----------------------------------------------------

ALTER procedure dbo.UpdateAnnouncement
@ItemID         int,
@UserName       nvarchar(100),
@Title          nvarchar(150),
@URL            nvarchar(150),
@Syndicate      bit,
@ExpireDate     datetime,
@Description    nvarchar(2000),
@ViewOrder	int
as
update Announcements
set    CreatedByUser = @UserName,
       CreatedDate   = GetDate(),
       Title         = @Title,
       URL           = @URL,
       Syndicate     = @Syndicate,
       ExpireDate    = @ExpireDate,
       Description   = @Description,
       ViewOrder     = @ViewOrder
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.UpdateArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateArticlesPlus
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateArticlesPlus
----------------------------------------------------

/****** Object:  Stored Procedure dbo.UpdateArticlesPlus    Script Date: 10/24/2003 10:26:39 AM ******/
ALTER PROCEDURE dbo.UpdateArticlesPlus
@ArticlesPlusID int,
@CreatedbyUser nvarchar(100),
@Syndicate bit,
@ExpireDate datetime,
@PublishDate datetime,
@Title nvarchar(200),
@Image nvarchar(500),
@ImageSize int,
@ImageWidth int,
@ImageHeight int,
@ImageAlign int,
@Author nvarchar(200),
@Description nvarchar(2000),
@NavigateURL nvarchar(500),
@NewWindow bit, 
@Authorized bit,
@Article Text
as
UPDATE    ArticlesPlus
SET              CreatedByUserID = @CreatedbyUser, CreatedDate = GETDATE(), APSyndicate = @Syndicate, APExpireDate = @ExpireDate, 
                      APPublishDate = @PublishDate, APTitle = @Title, APImageName = @Image, APImageSize = @ImageSize, APImageAlign = @ImageAlign, 
                      APAuthor = @Author, APDescription = @Description, APAuthorized = @Authorized, APArticle = @Article, APNavigateURL = @NavigateURL, 
                      APNewWindow = @NewWindow, APImageWidth = @ImageWidth, APImageHeight = @ImageHeight
WHERE     (ArticlesPlusID = @ArticlesPlusID)

GO
----------------------------------------------------
-- dbo.UpdateArticlesPlusModules
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateArticlesPlusModules
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateArticlesPlusModules
----------------------------------------------------

/****** Object:  Stored Procedure dbo.UpdateArticlesPlusModules    Script Date: 10/24/2003 10:26:39 AM ******/
ALTER PROCEDURE dbo.UpdateArticlesPlusModules
(
 @strFlag as Char(1),
 @intArticlesPlusID as Int,
 @strRecords as NVarChar(2000)
)
AS
declare @localModuleID as int
declare @localActive as bit
declare @localCommaPos as int
declare @localLength as int
set @localLength = len(@strRecords)
while @localLength > 0
begin
 set @localCommaPos = charindex(',',@strRecords)
 if @localCommaPos > 0
  begin
   -- we'll assume there is at least one key there
   set @localModuleID = left(@strRecords, @localCommaPos-1)
   if len(@strRecords)=@localCommaPos -- have we come to the last, trailing comma?
    begin
     set @strRecords = ''
    end
   else
    begin
     set @strRecords = right(@strRecords,len(@strRecords)-@localCommaPos)
    end
   if @strFlag = 'U' -- Update
    begin
     set @localCommaPos = charindex(',',@strRecords)
     set @localActive = left(@strRecords, 1) -- constant 0 or 1
     if len(@strRecords)=@localCommaPos -- have we come to the last, trailing comma?
      begin
       set @strRecords = ''
      end
     else
      begin
       set @strRecords = right(@strRecords,len(@strRecords)-@localCommaPos)
      end
     if not exists (SELECT * FROM ArticlesPlusModule WHERE (ArticlesPlusID = @intArticlesPlusID) AND (ModuleID = @localModuleID))
      begin
       INSERT INTO ArticlesPlusModule
                   (ArticlesPlusID, ModuleID)
       VALUES      (@intArticlesPlusID, @localModuleID)
      end
     else
      begin
       UPDATE ArticlesPlusModule
       SET    ArticlesPlusID = @intArticlesPlusID, ModuleID = @localModuleID, APMActive = @localActive
       WHERE (ArticlesPlusID = @intArticlesPlusID) AND (ModuleID = @localModuleID)
      end
    end -- update
   else -- must not be updating so...
    begin -- removing records
     DELETE FROM ArticlesPlusModule
     WHERE     (ArticlesPlusID = @intArticlesPlusID) AND (ModuleID = @localModuleID)
    end
  end -- got a comma position
 else
  begin -- no comma position, so clear the string so loop will terminate
   set @strRecords = ''
  end 
 set @localLength = len(@strRecords)
end -- the big loop
RETURN 

GO
----------------------------------------------------
-- dbo.UpdateBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateBanner
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateBanner
----------------------------------------------------

ALTER procedure dbo.UpdateBanner
@BannerId     int,
@BannerName   nvarchar(100),
@ImageFile    nvarchar(50),
@URL          nvarchar(100) = null,
@Impressions  int,
@CPM          float,
@StartDate    datetime = null,
@EndDate      datetime = null,
@UserName     nvarchar(100),
@BannerTypeId int
as
update Banners
set    ImageFile     = @ImageFile,
       BannerName    = @BannerName,
       URL           = @URL,
       Impressions   = @Impressions,
       CPM           = @CPM,
       StartDate     = @StartDate,
       EndDate       = @EndDate,
       CreatedByUser = @UserName,
       CreatedDate   = getdate(),
       BannerTypeId  = @BannerTypeId
where  BannerId = @BannerId 

GO
----------------------------------------------------
-- dbo.UpdateBillingFrequencyCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateBillingFrequencyCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateBillingFrequencyCodes(Language, Code, Description)
----------------------------------------------------

ALTER procedure [dbo].[UpdateBillingFrequencyCodes]

@Language nvarchar(5),
@Code   char(1),
@Description  nvarchar(50)

as

  update CodeFrequency
  set Description = @Description
  where language = @language
  and Code = @Code






GO
----------------------------------------------------
-- dbo.UpdateCheckUserSecurity
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateCheckUserSecurity
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateCheckUserSecurity
----------------------------------------------------

ALTER procedure UpdateCheckUserSecurity
@UserId       int,
@Code	      NVARCHAR(100),
@NextLogin    DateTime,
@nTry          Int
as
declare  @count int
select	@count = count(UserID)
from 	loginsecurity
where	UserID = @UserID 
if @count = 0
Begin
insert into loginsecurity(
  UserId,
  Code ,
  NextLogin,
  Try )
values (
  @UserId,
  @Code,
  @NextLogin,
  @nTry )
End
Else
Begin
update loginsecurity
set 
	Code = @Code,
	NextLogin = @NextLogin,
	Try = @nTry
where
	userId = @UserId
End
delete from loginsecurity
where (datediff(minute, NextLogin, getdate()) > 20) and (Code = '')

GO
----------------------------------------------------
-- dbo.UpdateClicks
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateClicks
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateClicks
----------------------------------------------------

ALTER   procedure [dbo].UpdateClicks
@TableName nvarchar(50),
@KeyField  nvarchar(50),
@ItemId    int,
@UserId    int = null
as
/* 
The following if...then ensures that 1) the TableName evaluates to a UserTable
and 2) that the KeyField is an actual column in the named table.  This check
is necessary to prevent SQL Injection attacks.  The ItemID is not subject
to attack since it must be an integer value.
*/
if (OBJECTPROPERTY(object_id(@TableName) , N'IsUserTable') = 1) and (COl_LENGTH(@TableName, @KeyField) > 0)
begin
	declare @SQL nvarchar(200)
	
	select @SQL = 'update ' + @TableName + ' set Clicks = Clicks + 1 where ' + @KeyField + ' = ' + convert(varchar,@ItemId)
	
	EXEC sp_executesql @SQL
	
	insert into ClickLog (
	  TableName,
	  ItemId,
	  DateTime,
	  UserId
	)
	values (
	  @TableName,
	  @ItemId,
	  getdate(),
	  @UserId
	)
end

GO
----------------------------------------------------
-- dbo.UpdateContact
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateContact
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateContact
----------------------------------------------------

ALTER procedure dbo.UpdateContact
@ItemID   int,
@UserName nvarchar(100),
@Name     nvarchar(50),
@Role     nvarchar(100),
@Email    nvarchar(100),
@Contact1 nvarchar(250),
@Contact2 nvarchar(250)
as
update Contacts
set    CreatedByUser = @UserName,
       CreatedDate   = GetDate(),
       Name          = @Name,
       Role          = @Role,
       Email         = @Email,
       Contact1      = @Contact1,
       Contact2      = @Contact2
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.UpdateCountryCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateCountryCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateCountryCodes(Language, Code, Description)
----------------------------------------------------

ALTER procedure [dbo].[UpdateCountryCodes]

@Language nvarchar(5),
@Code   char(2),
@Description  nvarchar(100)

as

  update CodeCountry
  set Description = @Description
  where language = @language
  and Code = @Code





GO
----------------------------------------------------
-- dbo.UpdateCurrencies
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateCurrencies
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateCurrencies(Language, Code, Description)
----------------------------------------------------

ALTER procedure [dbo].[UpdateCurrencies]

@Language nvarchar(5),
@Code   char(3),
@Description  nvarchar(100)

as

  update CodeCurrency
  set Description = @Description
  where language = @language
  and Code = @Code





GO
----------------------------------------------------
-- dbo.UpdateDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateDocument
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateDocument
----------------------------------------------------

ALTER procedure dbo.UpdateDocument
@ItemID           int,
@Title            nvarchar(150),
@URL              nvarchar(250),
@UserName         nvarchar(100),
@Category         nvarchar(50),
@Syndicate        bit
as
update Documents
set    Title             = @Title,
       URL               = @URL,
       CreatedByUser     = @UserName,
       CreatedDate       = getdate(),
       Category          = @Category,
       Syndicate         = @Syndicate
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.UpdateFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateFAQ
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateFAQ
----------------------------------------------------

ALTER procedure dbo.UpdateFAQ
@ItemID   int,
@UserName nvarchar(100),
@Question  text,
@Answer    text
as
update FAQs
set    Question = @Question,
       Answer = @Answer,
       CreatedByUser = @UserName,
       CreatedDate = getdate()
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.UpdateHostSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateHostSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateHostSetting
----------------------------------------------------

ALTER procedure dbo.UpdateHostSetting
@SettingName   nvarchar(50),
@SettingValue  nvarchar(256)
as
if not exists ( select 1 from HostSettings where SettingName = @SettingName ) 
begin
  insert into HostSettings (
    SettingName,
    SettingValue
  ) 
  values (
    @SettingName,
    @SettingValue
  )
end
else
begin
  update HostSettings
  set    SettingValue = @SettingValue
  where  SettingName = @SettingName
end

GO
----------------------------------------------------
-- dbo.UpdateHtmlText
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateHtmlText
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateHtmlText
----------------------------------------------------

ALTER procedure dbo.UpdateHtmlText
@ModuleID      int,
@DesktopHtml   ntext,
@AlternateSummary ntext,
@AlternateDetails ntext
as
if not exists ( select * from HtmlText where ModuleID = @ModuleID )
begin
  insert into HtmlText (
    ModuleID,
    DesktopHtml,
    AlternateSummary,
    AlternateDetails
  ) 
  values (
    @ModuleID,
    @DesktopHtml,
    @AlternateSummary,
    @AlternateDetails
  )
end
else
begin
  update HtmlText
  set    DesktopHtml   = @DesktopHtml,
         AlternateSummary = @AlternateSummary,
         AlternateDetails = @AlternateDetails
  where  ModuleID = @ModuleID
end

GO
----------------------------------------------------
-- dbo.UpdatelanguageContext
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelanguageContext
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelanguageContext
----------------------------------------------------

ALTER procedure [dbo].[UpdatelanguageContext]

@language nvarchar(5),
@SettingName   nvarchar(50),
@SettingValue  nvarchar(256),
@Context       nvarchar(50)

as

if not exists ( select * from languageSettings where language = @language and SettingName = @SettingName )
begin
  insert into languageSettings (
    language,
    SettingName,
    SettingValue,
    Context,
    New
  ) 
  values (
    @language,
    @SettingName,
    @SettingValue,
    @Context,
    1
  )
end
else
begin
  update languageSettings
  set SettingValue = @SettingValue,
      Context = @Context, New = 1
  where language = @language
  and SettingName = @SettingName
end




GO
----------------------------------------------------
-- dbo.UpdatelanguageSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelanguageSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelanguageSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelanguageSetting
----------------------------------------------------

ALTER procedure [dbo].[UpdatelanguageSetting]

@language nvarchar(5),
@SettingName   nvarchar(50),
@SettingValue  nvarchar(256)

as

if not exists ( select * from languageSettings where language = @language and SettingName = @SettingName )
begin
  insert into languageSettings (
    language,
    SettingName,
    SettingValue,
    New
  ) 
  values (
    @language,
    @SettingName,
    @SettingValue,
    1
  )
end
else
begin
  update languageSettings
  set SettingValue = @SettingValue, SettingName = @SettingName, New = 1
  where language = @language
  and SettingName = @SettingName
end





GO
----------------------------------------------------
-- dbo.UpdateLink
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateLink
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateLink
----------------------------------------------------

ALTER procedure dbo.UpdateLink
  
@ItemID      int,
@UserName    nvarchar(100),
@Title       nvarchar(100),
@Url         nvarchar(250),
@AlternateUrl   nvarchar(250),
@ViewOrder   int,
@Description nvarchar(2000),
@NewWindow   bit
as
update Links
set    CreatedByUser = @UserName,
       CreatedDate   = GetDate(),
       Title         = @Title,
       Url           = @Url,
       AlternateUrl     = @AlternateUrl,
       ViewOrder     = @ViewOrder,
       Description   = @Description,
       NewWindow     = @NewWindow
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.UpdatelonglanguageSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelonglanguageSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatelonglanguageSetting
----------------------------------------------------
ALTER procedure dbo.UpdatelonglanguageSetting

@language nvarchar(5),
@SettingName   nvarchar(50),
@SettingValue  ntext,
@PortalId   int

as
if @PortalId is null
begin
if not exists ( select * from longlanguageSettings where language = @language and SettingName = @SettingName and PortalId is null)
begin
  insert into longlanguageSettings (
    language,
    SettingName,
    SettingValue
  ) 
  values (
    @language,
    @SettingName,
    @SettingValue
  )
end
else
begin
  update longlanguageSettings
  set SettingValue = @SettingValue
  where language = @language
  and SettingName = @SettingName 
  and PortalId is null
end
end
else
begin
if not exists ( select * from longlanguageSettings where language = @language and SettingName = @SettingName and PortalId = @PortalId)
begin
  insert into longlanguageSettings (
    language,
    SettingName,
    SettingValue,
    PortalId
  ) 
  values (
    @language,
    @SettingName,
    @SettingValue,
    @PortalId
  )
end
else
begin
  update longlanguageSettings
  set SettingValue = @SettingValue
  where language = @language
  and SettingName = @SettingName
  and PortalId = @PortalId
end
end


GO
----------------------------------------------------
-- dbo.UpdateMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateMessage
----------------------------------------------------

ALTER procedure dbo.UpdateMessage
@ItemID     int,
@Title      nvarchar(100),
@Body       nvarchar(3000),
@UserName   nvarchar(100)
as
update Discussion
set    Title             = @Title,
       Body              = @Body,
       CreatedByUser     = @UserName,
       CreatedDate       = getdate()
where  ItemID = @ItemID

GO
----------------------------------------------------
-- dbo.UpdateModule
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModule
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModule
----------------------------------------------------

ALTER procedure [dbo].[UpdateModule]

@ModuleID       int,
@ModuleTitle    nvarchar(256),
@Alignment      nvarchar(10),
@Color          nvarchar(20),
@Border         nvarchar(1),
@IconFile       nvarchar(100),
@CacheTime      int,
@ViewRoles      nvarchar(256),
@EditRoles      nvarchar(256),
@ShowFriendly     bit,
@TabId          int,
@AllTabs        bit,
@ShowTitle      bit,
@Personalize    int,
@Container      nvarchar(4000),
@Language       nvarchar(5)

as

declare @OldTabId int
declare @ModuleOrder int

select @OldTabId = TabId
from   Modules
where  ModuleID = @ModuleID

update Modules
set    ModuleTitle = @ModuleTitle,
       CacheTime   = @CacheTime,
       ShowFriendly  = @ShowFriendly,
       AuthorizedViewRoles = @ViewRoles,
       AuthorizedEditRoles = @EditRoles,
       Alignment = @Alignment,
       Color = @Color,
       Border = @Border,
       IconFile = @IconFile,
       TabId = @TabId,
       AllTabs = @AllTabs,
       ShowTitle = @ShowTitle,
       Personalize = @Personalize,
       Container = @Container,
       Language = @Language
where  ModuleID = @ModuleID

if @OldTabId <> @TabId
begin
  select @ModuleOrder = max(ModuleOrder) + 2
  from   Modules
  where  TabID = @TabId
  and    PaneName = 'ContentPane'

  if @ModuleOrder is null
    select @ModuleOrder = 1

  update Modules
  set    PaneName = 'ContentPane',
         ModuleOrder = @ModuleOrder
  where  ModuleId = @ModuleId
end

if @AllTabs = 1
begin
  update Modules
  set    ModuleOrder = 0
  where  ModuleId = @ModuleId
end


GO
----------------------------------------------------
-- dbo.UpdateModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleDefinition
----------------------------------------------------

ALTER procedure [dbo].[UpdateModuleDefinition]
@ModuleDefID    int,
@Language       nvarchar(5),
@FriendlyName   nvarchar(128),
@DesktopSrc     nvarchar(256),
@HelpSrc		nvarchar(256),
@AdminOrder     int,
@EditSrc        nvarchar(256),
@Secure         bit,
@Description    nvarchar(2000),
@EditModuleIcon nvarchar(100),
@IsPremium      bit
as
declare @TabId int
declare @ModuleOrder int
declare @AdministratorRoleId int
declare @PortalId int
declare @TabOrder int
declare @ChildTabId int
update ModuleDefinitions
set    DesktopSrc     = @DesktopSrc,
       HelpSrc        = @HelpSrc,
       AdminOrder     = @AdminOrder,
       EditSrc        = @EditSrc,
       Secure         = @Secure,
       EditModuleIcon = @EditModuleIcon,
       IsPremium      = @IsPremium
where  ModuleDefID = @ModuleDefID
if @IsPremium = 0
begin
  delete
  from   PortalModuleDefinitions
  where  ModuleDefID = @ModuleDefID
end

if exists ( select * from ModuleDefinitions where FriendlyName = 'Template' and ModuleDefID = @ModuleDefID ) and
not exists ( select * from ModuleDefinitions where FriendlyName = @FriendlyName and ModuleDefID = @ModuleDefID )
begin
update ModuleDefinitions
set    FriendlyName     = @FriendlyName,
       Description      = @Description
where  ModuleDefID = @ModuleDefID
end

if not exists ( select * from ModuleDefinitionsNames where language = @language and ModuleDefID = @ModuleDefID )
begin
  insert into ModuleDefinitionsNames (
    ModuleDefID,
    language,
    FriendlyName,
    Description

  ) 
  values (
	@ModuleDefID,
    @language,
    @FriendlyName,
    @Description
  )
end
else
begin
  update ModuleDefinitionsNames
  set 
	FriendlyName   = @FriendlyName,
	Description    = @Description
  where language = @language
  and ModuleDefID = @ModuleDefID
end


GO
----------------------------------------------------
-- dbo.UpdateModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleEvent
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleEvent
----------------------------------------------------

ALTER procedure [dbo].UpdateModuleEvent
@ItemId      int,
@Description nvarchar(2000),
@DateTime    datetime,
@Title       nvarchar(100),
@ExpireDate  datetime = null,
@UserName    nvarchar(200),
@Every       int,
@Period      char(1),
@IconFile    nvarchar(256),
@AltText     nvarchar(50)
as
update ModuleEvents
set    Description = @Description,
       DateTime = @DateTime,
       Title = @Title,
       ExpireDate = @ExpireDate,
       CreatedByUser = @UserName,
       CreatedDate = getdate(),
       Every = @Every,
       Period = @Period,
       IconFile = @IconFile,
       AltText = @AltText
where  ItemId = @ItemId

GO
----------------------------------------------------
-- dbo.UpdateModuleOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleOrder
----------------------------------------------------

ALTER procedure dbo.UpdateModuleOrder
@ModuleID           int,
@ModuleOrder        int,
@PaneName           nvarchar(50)
as
declare @TabID int
declare @AllTabs bit
select @TabID = TabID,
       @AllTabs = AllTabs
from   Modules
where  ModuleID = @ModuleID
if @ModuleOrder = -1
begin
  select @ModuleOrder = max(ModuleOrder) + 2
  from   Modules
  where  TabID = @TabID
  and    PaneName = @PaneName
  if @ModuleOrder is null
    select @ModuleOrder = 1
end
if @AllTabs = 1
begin
  select @ModuleOrder = 0
end
update Modules
set    ModuleOrder = @ModuleOrder,
       PaneName = @PaneName
where  ModuleID = @ModuleID

GO
----------------------------------------------------
-- dbo.UpdateModuleSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateModuleSetting
----------------------------------------------------

ALTER procedure [dbo].[UpdateModuleSetting]
@ModuleID      int,
@SettingName   nvarchar(50),
@SettingValue  nvarchar(4000)
as
if not exists ( select * from ModuleSettings where ModuleID = @ModuleID and SettingName = @SettingName )
begin
  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    @SettingName,
    @SettingValue
  )
end
else
begin
  update ModuleSettings
  set SettingValue = @SettingValue
  where ModuleID = @ModuleID
  and SettingName = @SettingName
end


GO
----------------------------------------------------
-- dbo.UpdatePortalExpiry
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalExpiry
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalExpiry
----------------------------------------------------

ALTER procedure dbo.UpdatePortalExpiry
@PortalID   int
as
declare @ExpiryDate datetime
select @ExpiryDate = null
select @ExpiryDate = ExpiryDate
from   Portals
where  PortalID = @PortalID
if @ExpiryDate is null or @ExpiryDate < getdate()
  select @ExpiryDate = getdate()
update Portals
set    ExpiryDate = dateadd(Month,1,@ExpiryDate)
where  PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.UpdatePortalInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalInfo
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalInfo
----------------------------------------------------

ALTER procedure dbo.UpdatePortalInfo
@PortalID           int,
@PortalName         nvarchar(128),
@PortalAlias        nvarchar(200) = null,
@LogoFile           nvarchar(50) = null,
@FooterText         nvarchar(100) = null,
@ExpiryDate         datetime = null,
@UserRegistration   int = null,
@BannerAdvertising  int = null,
@Currency           char(3) = null,
@AdministratorId    int = null,
@HostFee            money = 0,
@HostSpace          int = null,
@PaymentProcessor   nvarchar(50) = null,
@ProcessorUserId    nvarchar(50) = null,
@ProcessorPassword  nvarchar(50) = null,
@Description        nvarchar(500) = null,
@KeyWords           nvarchar(500) = null,
@BackgroundFile     nvarchar(50) = null,
@SiteLogHistory     int = null,
@TimeZone	    int
as
update Portals
set    PortalName = @PortalName,
       PortalAlias = isnull(@PortalAlias,PortalAlias),
       LogoFile = @LogoFile,
       FooterText = @FooterText,
       ExpiryDate = @ExpiryDate,
       UserRegistration = @UserRegistration,
       BannerAdvertising = @BannerAdvertising,
       Currency = @Currency,
       AdministratorId = @AdministratorId,
       HostFee = @HostFee,
       HostSpace = @HostSpace,
       PaymentProcessor = @PaymentProcessor,
       ProcessorUserId = @ProcessorUserId,
       ProcessorPassword = @ProcessorPassword,
       Description = @Description,
       KeyWords = @KeyWords,
       BackgroundFile = @BackgroundFile,
       SiteLogHistory = @SiteLogHistory,
       TimeZone = @TimeZone
where  PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.UpdatePortalModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalModuleDefinition
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalModuleDefinition
----------------------------------------------------

ALTER procedure dbo.UpdatePortalModuleDefinition
@PortalID int,
@ModuleDefID int,
@Subscribed  bit,
@HostFee money
as
if exists ( select 1 from PortalModuleDefinitions where PortalID = @PortalID and ModuleDefID = @ModuleDefID )
begin
  if @Subscribed = 1
  begin
    update PortalModuleDefinitions
    set    HostFee = @HostFee
    where  PortalID = @PortalID
    and    ModuleDefID = @ModuleDefID
  end
  else
  begin
    if not exists ( select 1 from Modules inner join Tabs on Modules.TabId = Tabs.TabId where Modules.ModuleDefId = @ModuleDefId and Tabs.PortalID = @PortalID )
    begin
      delete
      from   PortalModuleDefinitions
      where  PortalID = @PortalID
      and    ModuleDefID = @ModuleDefID
    end 
  end  
end
else
begin
  if @Subscribed = 1
  begin
    insert into PortalModuleDefinitions ( 
      PortalID,
      ModuleDefID,
      HostFee
    )
    values (
      @PortalID,
      @ModuleDefID,
      @HostFee
    )
  end
end

GO
----------------------------------------------------
-- dbo.UpdatePortalModules
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalModules
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalModules
----------------------------------------------------

ALTER procedure [dbo].[UpdatePortalModules]
@PortalID int
as

DECLARE @container nvarchar(4000)
DECLARE @TitleContainer nvarchar(4000)
DECLARE @ModuleContainer nvarchar(4000)
DECLARE @containerAlignment nvarchar(4000)
DECLARE @containerColor nvarchar(4000)
DECLARE @containerBorder nvarchar(4000)

Select @container = PortalSettings.SettingValue from PortalSettings where SettingName = 'container' and PortalID = @PortalID
if @container is null Select @container = '[MODULE]'

Select @TitleContainer = PortalSettings.SettingValue from PortalSettings where SettingName = 'TitleContainer' and PortalID = @PortalID
if @TitleContainer is null Select @TitleContainer = '[MODULE]'

Select @ModuleContainer = PortalSettings.SettingValue from PortalSettings where SettingName = 'ModuleContainer' and PortalID = @PortalID
if @ModuleContainer is null Select @ModuleContainer = '[MODULE]'

Select @containerAlignment = PortalSettings.SettingValue from PortalSettings where SettingName = 'containerAlignment' and PortalID = @PortalID
if @containerAlignment is null Select @containerAlignment = ''

Select @containerColor = PortalSettings.SettingValue from PortalSettings where SettingName = 'containerColor' and PortalID = @PortalID
if @containerColor is null Select @containerColor = ''

Select @containerBorder = PortalSettings.SettingValue from PortalSettings where SettingName = 'containerBorder' and PortalID = @PortalID
if @containerBorder is null Select @containerBorder = ''


DECLARE @ModuleID int


select @ModuleID = min(ModuleID)
from   Modules, Tabs
where  Modules.TabId = Tabs.TabId 
and    Tabs.PortalId = @PortalID
while  @ModuleID is not null 
begin
delete
from   ModuleSettings
where  ModuleSettings.ModuleID = @ModuleID
and    (ModuleSettings.SettingName = 'container' or
		ModuleSettings.SettingName = 'TitleContainer' or
		ModuleSettings.SettingName = 'ModuleContainer' or
		ModuleSettings.SettingName = 'containerAlignment' or
		ModuleSettings.SettingName = 'containerColor' or
		ModuleSettings.SettingName = 'containerBorder')

  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    'containerBorder',
    @containerBorder
  )
 
  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    'containerColor',
    @containerColor
  )
 
  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    'containerAlignment',
    @containerAlignment
  )
  
  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    'ModuleContainer',
    @ModuleContainer
  )

  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    'TitleContainer',
    @TitleContainer
  )

  insert into ModuleSettings (
    ModuleID,
    SettingName,
    SettingValue
  ) 
  values (
    @ModuleID,
    'container',
    @container
  )


 select @ModuleID = min(ModuleID)
 from   Modules, Tabs
 where  Modules.TabId = Tabs.TabId 
 and    Tabs.PortalId = @PortalID
 and  ModuleID > @ModuleID
end


GO
----------------------------------------------------
-- dbo.UpdatePortalSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalSetting
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalSetting
----------------------------------------------------

ALTER procedure [dbo].[UpdatePortalSetting]
@PortalID      int,
@SettingName   nvarchar(50),
@SettingValue  nvarchar(4000)
as
if not exists ( select * from PortalSettings where PortalID = @PortalID and SettingName = @SettingName )
begin
  insert into PortalSettings (
    PortalID,
    SettingName,
    SettingValue
  ) 
  values (
    @PortalID,
    @SettingName,
    @SettingValue
  )
end
else
begin
  update PortalSettings
  set SettingValue = @SettingValue
  where PortalID = @PortalID
  and SettingName = @SettingName
end



GO
----------------------------------------------------
-- dbo.UpdatePortalTabOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalTabOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdatePortalTabOrder
----------------------------------------------------

ALTER procedure dbo.UpdatePortalTabOrder
@PortalID int
as
declare @TabCounter int
declare @TabOrder int
select @TabCounter = 0
update Tabs
set    TabOrder = -999
where  PortalID = @PortalID
and    (ParentId is not null or IsVisible = 0)
update Tabs
set    TabOrder = 999
where  PortalID = @PortalID
and    TabName = 'Admin'
select @TabOrder = min(TabOrder)
from   Tabs
where  PortalID = @PortalID
and    TabOrder <> -999
while @TabOrder is not null
begin
  select @TabCounter = @TabCounter + 1        
  update Tabs
  set    TabOrder = ((@TabCounter * 2) - 1) * -1 
  where  PortalID = @PortalID
  and    TabOrder = @TabOrder  
  select @TabOrder = min(TabOrder)
  from   Tabs
  where  PortalID = @PortalID
  and    TabOrder > @TabOrder
end 
update Tabs
set    TabOrder = 0
where  PortalID = @PortalID
and    TabOrder = -999
update Tabs
set    TabOrder = TabOrder * -1 
where  PortalID = @PortalID

GO
----------------------------------------------------
-- dbo.UpdateReferrer
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateReferrer
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateReferrer
----------------------------------------------------

ALTER procedure dbo.UpdateReferrer
@Referrer nvarchar(500),
@Description nvarchar(500)
as
declare @ReferrerId int
select @ReferrerId = null
select @ReferrerId = ReferrerId
from   Referrer
where  Referrer = @Referrer
if @ReferrerId is null
begin
  insert into Referrer (
    Referrer,
    Description,
    CreatedDate,
    LastModifiedDate
  )
  values (
    @Referrer,
    @Description,
    getdate(),
    getdate()
  )
end
else
begin
  update Referrer
  set    Description = @Description,
         LastModifiedDate = getdate()
  where  ReferrerId = @ReferrerId
end

GO
----------------------------------------------------
-- dbo.UpdateRegionCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateRegionCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateRegionCodes(language, Country, Code, Description
----------------------------------------------------

ALTER procedure [dbo].[UpdateRegionCodes]

@language nvarchar(5),
@Country  char(2),
@Code  char(2),
@Description varchar(100)

as

if not exists ( select * from CodeRegion where language = @language and Code = @Code and Country = @Country )
begin
  insert into CodeRegion (
    language,
    Country,
    Code,
    Description
  ) 
  values (
    @language,
    @Country,
    @Code,
    @Description
  )
end
else
begin
  update CodeRegion
  set Description = @Description
  where language = @language and Code = @Code and Country = @Country
end





GO
----------------------------------------------------
-- dbo.UpdateRole
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateRole
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateRole
----------------------------------------------------

ALTER procedure [dbo].[UpdateRole]
@RoleID           int,
@Language         nvarchar(5),
@RoleName         nvarchar(50),
@Description      nvarchar(1000),
@ServiceFee       money,
@BillingPeriod    int,
@BillingFrequency char(1),
@TrialFee         money,
@TrialPeriod      int,
@TrialFrequency   char(1),
@IsPublic         bit,
@AutoAssignment   bit
as
declare @UserId int
declare @PortalId int

----------------------------------------------------
-- Update RoleName and Role Description in RolesName
----------------------------------------------------


if not exists ( select * from RolesName where language = @language and RoleID = @RoleID)
begin
  insert into RolesName (
    RoleID,
    RoleName,
    Description,
    Language
  ) 
  values (
    @RoleID,
    @RoleName,
    @Description,
    @Language
  )
end
else
begin
  update RolesName
  set
  RoleName = @RoleName,
  Description = @DesCription
  where language = @language and RoleID = @RoleID
end



update Roles
set    ServiceFee = @ServiceFee,
       BillingPeriod = @BillingPeriod,
       BillingFrequency = @BillingFrequency,
       TrialFee = @TrialFee,
       TrialPeriod = @TrialPeriod,
       TrialFrequency = @TrialFrequency,
       IsPublic = @IsPublic,
       AutoAssignment = @AutoAssignment
where  RoleID = @RoleID
If @AutoAssignment = 1
begin
  select @PortalId  = PortalId
  from   Roles
  where  RoleId = @RoleId
  select @UserId = min(UserId)
  from   UserPortals
  where  PortalId = @PortalId
  While @UserId is not null
  begin
    if not exists ( select 1 from UserRoles where UserId = @UserId and RoleId = @RoleId )
    begin
      insert into UserRoles (
        UserID,
        RoleID,
        ExpiryDate,
        IsTrialUsed
      )
      values (
        @UserID,
        @RoleID,
        null,
        0 
      )
    end
    select @UserId = min(UserId)
    from   UserPortals
    where  PortalId = @PortalId
    and    UserId > @UserId
  end  
end


GO
----------------------------------------------------
-- dbo.UpdateSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateSearch
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateSearch
----------------------------------------------------

ALTER procedure dbo.UpdateSearch
@SearchID           int,
@TitleField         nvarchar(50),
@DescriptionField   nvarchar(50),
@CreatedDateField   nvarchar(50),
@CreatedByUserField nvarchar(50)
as
update Search
set    TitleField = @TitleField,
       DescriptionField = @DescriptionField,
       CreatedDateField = @CreatedDateField,
       CreatedByUserField = @CreatedByUserField
where  SearchId = @SearchId

GO
----------------------------------------------------
-- dbo.UpdateService
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateService
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateService
----------------------------------------------------

ALTER procedure [dbo].[UpdateService]
    
@UserId       int,
@RoleId       int,
@Cancel       bit
as
declare @Trial char(1)
declare @ExpiryDate datetime
declare @IsTrialUsed bit
declare @Period int
declare @Frequency char(1)
if @Cancel = 1
begin
  delete
  from   UserRoles
  where  UserId = @UserId
  and    RoleId = @RoleId
end
else
begin
  select @Trial = TrialFrequency
  from   Roles
  where  RoleId = @RoleId
  select @ExpiryDate = ExpiryDate,
         @IsTrialUsed = IsTrialUsed
  from   UserRoles
  where  UserId = @UserId
  and    RoleId = @RoleId
  if @IsTrialUsed is null and @Trial <> 'N' /* trial period not used */
  begin
    select @Period = TrialPeriod,
           @Frequency = TrialFrequency         
    from   Roles
    where  RoleId = @RoleId
  end
  else
  begin
    select @Period = BillingPeriod,
           @Frequency = BillingFrequency         
    from   Roles
    where  RoleId = @RoleId
  end
  if @ExpiryDate is null or @ExpiryDate < getdate()
    select @ExpiryDate = getdate()
  if @Frequency = 'N'
    select @ExpiryDate = null
  select @ExpiryDate =
    case
      when @Frequency = 'N' then @ExpiryDate
      when @Frequency = 'O' then convert(datetime,'99991231')
      when @Frequency = 'D' then dateadd(Day,@Period,@ExpiryDate)
      when @Frequency = 'W' then dateadd(Week,@Period,@ExpiryDate)
      when @Frequency = 'M' then dateadd(Month,@Period,@ExpiryDate)
      when @Frequency = 'Y' then dateadd(Year,@Period,@ExpiryDate)
    end
  if exists ( select 1 from UserRoles where UserId = @UserId and RoleId = @RoleId )
  begin
    update UserRoles
    set    ExpiryDate = @ExpiryDate,
           IsTrialUsed = 1
    where  UserId = @UserId
    and    RoleId = @RoleId
  end
  else
  begin
     insert UserRoles (
      UserId,
      RoleId,
      ExpiryDate,
      IsTrialUsed
    )
    values (
      @UserId,
      @RoleId,
      @ExpiryDate,
      1
    )
  end
end


GO
----------------------------------------------------
-- dbo.UpdateSession
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateSession
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateSession
----------------------------------------------------

ALTER procedure UpdateSession
@PortalId       int,
@SessionId      nvarchar(255),
@Location       nvarchar(255),
@TabId		int,
@UserId         int,
@IP		nvarchar(50),
@Browser	nvarchar(255)
as
declare  @count int
select @count = count(UserID)
From SessionTracker
Where UserID = @UserID
if @count = 1
Begin
-- Update is user already loggedin
	update SessionTracker
	set 
	PortalId = @PortalId,
	Location = @Location,
	SessionId = @SessionId,
  	TabId = @TabId ,
	LastActiveDate = getDate(),
	IP = @IP,
	Browser = @Browser
	where
	UserID = @UserID
end
else
	Begin
 select @count = count(Ip)
 From SessionTracker
 Where IP = @IP
 if @count = 1
 Begin
 -- Update is user Not logged in but with same IP
	update SessionTracker
	set 
	PortalId = @PortalId,
	Location = @Location,
	UserId = @UserId,
  	TabId = @TabId ,
	LastActiveDate = getDate(),
	SessionId = @SessionId,
	Browser = @Browser
	where
	IP = @IP
 end
 else
 Begin
 -- If not user logged in and not same ip then check is session open
	select	@count = count(SessionId)
	from 	SessionTracker
	where	SessionId = @SessionId 
	if @count = 0
	Begin
	insert into SessionTracker(
  	PortalId,
  	SessionId ,
  	Location,
  	UserId,
  	CreationDate,
  	TabId,
  	LastActiveDate,
  	IP,
  	Browser
	)
	values (
  	@PortalId,
  	@SessionId,
  	@Location,
  	@UserId,
  	getDate(),
  	@TabId,
  	getDate(),
  	@IP,
  	@Browser
	)
	End
	Else
	Begin
	update SessionTracker
	set 
	PortalId = @PortalId,
	Location = @Location,
	UserId = @UserId,
  	TabId = @TabId ,
	LastActiveDate = getDate(),
	IP = @IP,
	Browser = @Browser
	where
	SessionId = @SessionId
	End
 End
End
delete from sessionTracker
where datediff(minute, LastActiveDate, getdate()) > 20

GO
----------------------------------------------------
-- dbo.UpdateSiteLogReports
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateSiteLogReports
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateSiteLogReports(Language, Code, Description)
----------------------------------------------------

ALTER procedure [dbo].[UpdateSiteLogReports]

@Language nvarchar(5),
@Code   int,
@Description  nvarchar(50)

as

  update CodeSiteLogReport
  set Description = @Description
  where language = @language
  and Code = @Code





GO
----------------------------------------------------
-- dbo.UpdateTab
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTab
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTab
----------------------------------------------------
ALTER procedure [dbo].UpdateTab

@TabID              int,
@TabName            nvarchar(50),
@ShowFriendly         bit,
@FriendlyTabName      nvarchar(50),
@AuthorizedRoles    nvarchar(256),
@LeftPaneWidth      nvarchar(5),
@RightPaneWidth     nvarchar(5),
@IsVisible          bit,
@DisableLink        bit,
@ParentId           int,
@IconFile           nvarchar(100),
@AdministratorRoles nvarchar(256),
@css                nvarchar(256),
@skin               nvarchar(256)

as

declare @PortalID int

select @PortalID = PortalID
from   Tabs
where  TabID = @TabID

if (exists ( select 1 from Tabs where ParentId = @TabId )) or (@ParentId is not null)
begin
  select @IsVisible = 1
end

update Tabs
set    TabName = @TabName,
       ShowFriendly = @ShowFriendly,
       FriendlyTabName = @FriendlyTabName,
       AuthorizedRoles = @AuthorizedRoles,
       LeftPaneWidth = @LeftPaneWidth,
       RightPaneWidth = @RightPaneWidth,
       IsVisible = @IsVisible,
       DisableLink = @DisableLink,
       ParentId = @ParentId,
       IconFile = @IconFile,
       AdministratorRoles = @AdministratorRoles,
       css = @css,
       skin = @skin
where  TabID = @TabID
GO
----------------------------------------------------
-- dbo.UpdateTabModuleOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTabModuleOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTabModuleOrder
----------------------------------------------------

ALTER procedure [dbo].[UpdateTabModuleOrder]
@TabID           int
as
declare @PaneName nvarchar(50)
declare @ModuleCounter int
declare @ModuleOrder int
declare @Language nvarchar(5)


select @PaneName = min(PaneName)
from   Modules
where  TabID = @TabID
while @PaneName is not null 
begin
   select @Language = min(Language)  
   from Modules
   Where TabID = @TabID and
   PaneName = @PaneName
   while @Language is not null
   begin

  select @ModuleCounter = 0
  select @ModuleOrder = min(ModuleOrder)
  from   Modules
  where  TabID = @TabID
  and    PaneName = @PaneName
  and    Language = @Language
  and    ((ModuleOrder <> 0 and AllTabs = 1) or (AllTabs = 0))
  while @ModuleOrder is not null
  begin
    select @ModuleCounter = @ModuleCounter + 1        
    
	If   @Language <> '' 
    begin
    update Modules
    set    ModuleOrder = ((@ModuleCounter * 2) + 1) * -1 
    where  TabID = @TabID
    and    PaneName = @PaneName
    and    ModuleOrder = @ModuleOrder
    and    Language = @Language
    end  
    select @ModuleOrder = min(ModuleOrder)
    from   Modules
    where  TabID = @TabID
    and    PaneName = @PaneName
    and    Language = @Language
    and    ((ModuleOrder <> 0 and AllTabs = 1) or (AllTabs = 0))
    and    ModuleOrder > @ModuleOrder
  end 
  update Modules
  set    ModuleOrder = ModuleOrder * -1 
  where  TabID = @TabID
  and    PaneName = @PaneName
  and    Language = @Language
  and    Language <> ''
  select @Language = min(Language)
  from   Modules
  where  TabID = @TabID
  and    PaneName = @PaneName
  and    Language > @Language
  end 
  select @PaneName = min(PaneName)
  from   Modules
  where  TabID = @TabID
  and    PaneName > @PaneName
end





GO
----------------------------------------------------
-- dbo.UpdateTabName
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTabName
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTabName
----------------------------------------------------
ALTER procedure dbo.UpdateTabName

@PortalID   int,
@TabID      int,
@TabName    nvarchar(50),
@Language nvarchar(5)


as

if not exists ( select * from TabsName where language = @language and TabID = @TabID )
begin
  insert into TabsName (
    PortalID,
    TabID,
    TabName,
    Language
  ) 
  values (
    @PortalID,
    @TabID,
    @TabName,
    @Language
  )
end
else
begin
  update TabsName
  set TabName = @TabName
  where language = @language
  and TabID = @TabID
end

GO
----------------------------------------------------
-- dbo.UpdateTabOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTabOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTabOrder
----------------------------------------------------

ALTER procedure dbo.UpdateTabOrder
@TabID    int,
@TabOrder int,
@Level    int,
@ParentId int
as
update Tabs
set    TabOrder = @TabOrder,
       Level = @Level,
       ParentId = @ParentId
where  TabID = @TabID

GO
----------------------------------------------------
-- dbo.UpdateTimeZoneCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTimeZoneCodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateTimeZoneCodes(Language, Zone, Description) 
----------------------------------------------------

ALTER procedure [dbo].[UpdateTimeZoneCodes]

@Language nvarchar(5),
@Zone   int,
@Description  nvarchar(100)

as

  update TimeZone
  set Description = @Description
  where language = @language
  and Zone = @Zone





GO
----------------------------------------------------
-- dbo.UpdateUser
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUser
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUser
----------------------------------------------------

ALTER procedure dbo.UpdateUser
@PortalId       int,
@UserID         int,
@FirstName	nvarchar(50),
@LastName	nvarchar(50),
@Unit		nvarchar(50),
@Street		nvarchar(50),
@City	        nvarchar(50),
@Region	        nvarchar(50),
@PostalCode	nvarchar(50),
@Country	nvarchar(50),
@Telephone	nvarchar(50),
@Email		nvarchar(100),
@Username       nvarchar(100),
@Password	nvarchar(50) = null,
@Authorized     bit = null
as
update Users
set    FirstName = @FirstName,
       LastName	 = @LastName,
       Unit	 = @Unit,
       Street	 = @Street,
       City	 = @City,
       Region	 = @Region,
       PostalCode = @PostalCode,
       Country	 = @Country,
       Telephone = @Telephone,
       Email	 = @Email,
       Username	 = @Username,
       Password	 = isnull(@Password,Password)
where  UserId = @UserID
if @Authorized is not null
begin
  update UserPortals
  set    Authorized = @Authorized
  where  PortalId = @PortalId
  and    userId = @UserId
end

GO
----------------------------------------------------
-- dbo.UpdateUsercodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUsercodes
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUsercodes
----------------------------------------------------
ALTER procedure UpdateUsercodes

@UserId         int,
@Country_Code	nvarchar(50),
@IPfrom		nvarchar(15),
@IPto		nvarchar(15)
as

	update Users
	set 
	Country_Code = @Country_Code,
	IPfrom	 = @IPfrom,
	IPto = @IPto
	where
	UserID = @UserID
GO
----------------------------------------------------
-- dbo.UpdateUserDefinedData
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedData
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedData
----------------------------------------------------

ALTER procedure dbo.UpdateUserDefinedData
@UserDefinedRowId    int,
@UserDefinedFieldId  int,
@FieldValue          nvarchar(2000) = null
as
if @FieldValue is null
begin
  if exists ( select 1 from UserDefinedData where UserDefinedFieldId = @UserDefinedFieldId and UserDefinedRowId = @UserDefinedRowId )
  begin
    delete
    from UserDefinedData
    where UserDefinedFieldId = @UserDefinedFieldId
    and UserDefinedRowId = @UserDefinedRowId
  end
end
else
begin
  if not exists ( select 1 from UserDefinedData where UserDefinedFieldId = @UserDefinedFieldId and UserDefinedRowId = @UserDefinedRowId )
  begin
    insert UserDefinedData ( 
      UserDefinedFieldId,
      UserDefinedRowId,
      FieldValue
    )
    values (
      @UserDefinedFieldId,
      @UserDefinedRowId,
      @FieldValue
    )
  end
  else
  begin
    update UserDefinedData
    set    FieldValue = @FieldValue
    where UserDefinedFieldId = @UserDefinedFieldId
    and UserDefinedRowId = @UserDefinedRowId
  end
end

GO
----------------------------------------------------
-- dbo.UpdateUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedField
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedField
----------------------------------------------------

ALTER procedure dbo.UpdateUserDefinedField
@UserDefinedFieldId   int,
@FieldTitle           varchar(50),
@Visible              bit,
@FieldType            varchar(20)
as
update UserDefinedFields
set    FieldTitle = @FieldTitle,
       Visible = @Visible,
       FieldType = @FieldType
where  UserDefinedFieldId = @UserDefinedFieldId

GO
----------------------------------------------------
-- dbo.UpdateUserDefinedFieldOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedFieldOrder
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedFieldOrder
----------------------------------------------------

ALTER procedure dbo.UpdateUserDefinedFieldOrder
@UserDefinedFieldId  int,
@Direction           int
as
declare @ModuleId int
declare @FieldOrder int
select @ModuleId = ModuleId,
       @FieldOrder = FieldOrder
from   UserDefinedFields
where  UserDefinedFieldId = @UserDefinedFieldId
if (@Direction = -1 and @FieldOrder > 0) or (@Direction = 1 and @FieldOrder < ( select (count(*) - 1) from UserDefinedFields where ModuleId = @ModuleId ))
begin
  update UserDefinedFields
  set    FieldOrder = @FieldOrder
  where  ModuleId = @ModuleId
  and    FieldOrder = @FieldOrder + @Direction
  update UserDefinedFields
  set    FieldOrder = @FieldOrder + @Direction
  where  UserDefinedFieldId = @UserDefinedFieldId
end

GO
----------------------------------------------------
-- dbo.UpdateUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedRow
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserDefinedRow
----------------------------------------------------

ALTER procedure dbo.UpdateUserDefinedRow
@UserDefinedRowId int
as
if not exists ( select 1 from UserDefinedData where UserDefinedRowId = @UserDefinedRowId )
begin
  delete
  from   UserDefinedRows
  where  userDefinedRowId = @UserDefinedRowId
end

GO
----------------------------------------------------
-- dbo.UpdateUserIP
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserIP
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserIP
----------------------------------------------------
ALTER procedure UpdateUserIP

@UserId         int,
@IP		nvarchar(15),
@Security_Code	nvarchar(50)
as

	update Users
	set 
	LastIP = @IP,
	Security_Code = @Security_Code
	where
	UserID = @UserID
GO
----------------------------------------------------
-- dbo.UpdateUserLogin
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserLogin
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateUserLogin
----------------------------------------------------

ALTER procedure dbo.UpdateUserLogin
@UserID   int,
@PortalID int
as
declare @Authorized bit
declare @SuperUserId int
declare @UserPortalId int
select @Authorized = 0
select @SuperUserId = UserId
from   Users
where  IsSuperUser = 1
if @UserID <> @SuperUserId
begin
  select @Authorized = Authorized
  from   UserPortals
  where  UserId = @UserId
  and    PortalId = @PortalId
  if @Authorized = 1
  begin
    update UserPortals
    set    LastLoginDate = getdate()
    where  UserId = @UserId
    and    PortalId = @PortalId
  end
end
else
begin
  select @Authorized = 1
end
select 'Authorized' = @Authorized

GO
----------------------------------------------------
-- dbo.UpdateVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateVendor
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateVendor
----------------------------------------------------

ALTER procedure dbo.UpdateVendor
@VendorID	int,
@VendorName 	nvarchar(50),
@Unit	 	nvarchar(50),
@Street 	nvarchar(50),
@City		nvarchar(50),
@Region	        nvarchar(50),
@Country	nvarchar(50),
@PostalCode	nvarchar(50),
@Telephone	nvarchar(50),
@Fax		nvarchar(50),
@Email		nvarchar(50),
@Website	nvarchar(100),
@FirstName	nvarchar(50),
@LastName	nvarchar(50),
@UserName       nvarchar(100),
@LogoFile       nvarchar(100),
@KeyWords       text,
@Authorized     bit
as
update Vendors
set    VendorName    = @VendorName,
       Unit          = @Unit,
       Street        = @Street,
       City          = @City,
       Region        = @Region,
       Country       = @Country,
       PostalCode    = @PostalCode,
       Telephone     = @Telephone,
       Fax           = @Fax,
       Email         = @Email,
       Website       = @Website,
       FirstName     = @FirstName,
       LastName      = @LastName,
       CreatedByUser = @UserName,
       CreatedDate   = getdate(),
       LogoFile      = @LogoFile,
       KeyWords      = @KeyWords,
       Authorized    = @Authorized
where  VendorId = @VendorId

GO
----------------------------------------------------
-- dbo.UpdateVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateVendorFeedback
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateVendorFeedback
----------------------------------------------------

ALTER procedure dbo.UpdateVendorFeedback
@VendorId  int,
@UserId    int,
@Comment   nvarchar(4000),
@Value     int
as
if not exists ( select 1 from VendorFeedback where VendorId = @VendorId and UserId = @UserId )
begin
  insert VendorFeedback ( 
    VendorId,
    UserId,
    Date,
    Comment,
    Value
  )
  values (
    @VendorId,
    @UserId,
    getdate(),
    @Comment,
    @Value
  )
end
else
begin
  update VendorFeedback
  set    Date = getdate(),
         Comment = @Comment,
         Value = @Value
  where  VendorId = @VendorId
  and    UserId = @UserId
end

GO
----------------------------------------------------
-- dbo.UpdateVersion
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateVersion
----------------------------------------------------
----------------------------------------------------
-- dbo.UpdateVersion
----------------------------------------------------

ALTER procedure dbo.UpdateVersion
@Build int
as
insert into Version (
  Major,
  Minor,
  Build,
  CreatedDate
)
values (
  1,
  0,
  @Build,
  getdate()
)

GO
----------------------------------------------------
-- dbo.UserLogin
----------------------------------------------------
----------------------------------------------------
-- dbo.UserLogin
----------------------------------------------------
----------------------------------------------------
-- dbo.UserLogin
----------------------------------------------------

ALTER procedure dbo.UserLogin
@Username nvarchar(100),
@Password nvarchar(50),
@PortalID int
as
declare @UserId int
declare @SuperUserId int
select @SuperUserId = UserId
from   Users
where  IsSuperUser = 1
select @UserId = null
/* validate the user */
select @UserId = UserId
from   Users
where  Username = @Username
and    Password = @Password
if @UserId is not null
begin
  if @UserId <> @SuperUserId
  begin
    select @UserId = null
    /* validate the user belongs to the portal */
    select @UserId = Users.UserId
    from   UserPortals
    inner join Users on UserPortals.UserId = Users.UserId
    where  PortalID = @PortalID
    and    Username = @Username
    and    Password = @Password
    and    Authorized = 1
    if not @UserId is null
    begin
      update UserPortals
      set    LastLoginDate = getdate()
      where  UserId = @UserId
      and    PortalID = @PortalID
    end
  end
end
select 'UserId' = @UserId

GO
----------------------------------------------------
-- dbo.UsersOnline_AddBuddy
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_AddBuddy
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_AddBuddy
----------------------------------------------------

ALTER PROCEDURE [dbo].UsersOnline_AddBuddy
	@UserID		int,
	@BuddyID	int
AS
INSERT INTO 
	UsersOnline_Buddies( UserID, BuddyID )
VALUES
	(@UserID, @BuddyID)

GO
----------------------------------------------------
-- dbo.UsersOnline_AddPrivateMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_AddPrivateMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_AddPrivateMessage
----------------------------------------------------

 ALTER procedure [dbo].UsersOnline_AddPrivateMessage
@SenderId       int,
@ReceiverId	int,
@Subject	nvarchar(255),
@Message	text
as
INSERT INTO
	PrivateMessages (SenderId, ReceiverId, Subject, Message)
	VALUES(@SenderId, @ReceiverId, @Subject, @Message)
INSERT INTO
	PrivateMessages(SenderId, ReceiverId, Subject, Message, OriginalMessageId)
	VALUES(@SenderId, @ReceiverId, @Subject, @Message, @@Identity)

GO
----------------------------------------------------
-- dbo.UsersOnline_DeleteBuddy
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_DeleteBuddy
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_DeleteBuddy
----------------------------------------------------

ALTER PROCEDURE [dbo].UsersOnline_DeleteBuddy
	@UserID		int,
	@BuddyID	int
AS
DELETE FROM 
	UsersOnline_Buddies
WHERE
	UserID = @UserID
	and
	BuddyID = @BuddyID

GO
----------------------------------------------------
-- dbo.UsersOnline_DeletePrivateMessages
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_DeletePrivateMessages
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_DeletePrivateMessages
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_DeletePrivateMessages
@MessageId       int
as
DELETE FROM 
	PrivateMessages 
WHERE 
	MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.UsersOnline_GetBuddiesList
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetBuddiesList
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetBuddiesList
----------------------------------------------------

ALTER PROCEDURE [dbo].UsersOnline_GetBuddiesList

	@PortalID	int,
	@UserID	int

AS

SELECT 
	UsersOnline_Buddies.BuddyID,
	Users.UserName,
	SessionTracker.SessionID

FROM	UsersOnline_Buddies
        left outer join Users on UsersOnline_Buddies.BuddyID = users.userid 
        left outer join SessionTracker on UsersOnline_Buddies.BuddyID = SessionTracker.UserId
        left outer join UserPortals on UsersOnline_Buddies.BuddyID = UserPortals.UserID
WHERE
	UsersOnline_Buddies.UserID = @UserID and UserPortals.PortalID = @PortalID	

ORDER BY 
	Users.UserName

GO
----------------------------------------------------
-- dbo.UsersOnline_GetMessageCount
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetMessageCount
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetMessageCount
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetMessageCount
@UserId       int,
@UnreadCount	int OUTPUT,
@ReadCount	int OUTPUT
as
SELECT     COUNT(*)
FROM         PrivateMessages
WHERE     (ReceiverId = @UserId and OriginalMessageId is Null and MessageRead = 0)
SELECT     COUNT(*)
FROM         PrivateMessages
WHERE     (ReceiverId = @UserId and OriginalMessageId is Null and MessageRead = 1)

GO
----------------------------------------------------
-- dbo.UsersOnline_GetOnlineUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetOnlineUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetOnlineUsers
----------------------------------------------------

ALTER PROCEDURE [dbo].UsersOnline_GetOnlineUsers
	@PortalID	int
AS
select 
	s1.ItemID,
	s1.PortalID,
	s1.SessionID,
	s1.UserID,
	s1.Location,
	s1.CreationDate,
	s1.TabID,
	s1.LastActiveDate,
	s1.IP,
	s1.Browser,
	Users.UserName
from
	SessionTracker s1, Users
where
	s1.PortalID = @PortalID
	and
	s1.UserID = Users.UserID
	and
	s1.CreationDate = (select max(CreationDate) from SessionTracker s2 where s1.UserID = s2.UserID)

GO
----------------------------------------------------
-- dbo.UsersOnline_GetPrivateMessagesInbox
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetPrivateMessagesInbox
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetPrivateMessagesInbox
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetPrivateMessagesInbox
@UserId       int,
@SortField varchar(100),
@SortDirection varchar(4)
AS
declare @strSQL nvarchar(1000)
declare @UserTimeZone int
declare @ServerTimeZone int
declare @TimeDiff int
Set @TimeDiff = '0'
Set @UserTimeZone = null
Set @ServerTimeZone = null
SELECT @UserTimeZone = TimeZone FROM TTTForum_Users WHERE TTTForum_Users.DNNUserID = @UserId
Select @ServerTimeZone = SettingValue  FROM HostSettings  WHERE HostSettings.SettingName = 'TimeZone'
if @UserTimeZone IS NOT NULL AND @ServerTimeZone IS NOT NULL 
Begin
Select @TimeDiff = @UserTimeZone - @ServerTimeZone
end
if @SortField <> ''  begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.ReceiverId,
			PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ',PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername 
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.receiverid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is null ORDER BY ' + @SortField + ' ' + @SortDirection
end
else begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.ReceiverId, PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ', PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.receiverid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is null ORDER BY PrivateMessages.MessageRead ASC, PrivateMessages.DateCreated DESC'
end
exec(@strSQL)

GO
----------------------------------------------------
-- dbo.UsersOnline_GetPrivateMessagesOutbox
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetPrivateMessagesOutbox
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetPrivateMessagesOutbox
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetPrivateMessagesOutbox
@UserId       int,
@SortField varchar(100),
@SortDirection varchar(4)
AS
declare @strSQL nvarchar(1000)
declare @UserTimeZone int
declare @ServerTimeZone int
declare @TimeDiff int
Set @TimeDiff = '0'
Set @UserTimeZone = null
Set @ServerTimeZone = null
SELECT @UserTimeZone = TimeZone FROM TTTForum_Users WHERE TTTForum_Users.DNNUserID = @UserId
Select @ServerTimeZone = SettingValue  FROM HostSettings  WHERE HostSettings.SettingName = 'TimeZone'
if @UserTimeZone IS NOT NULL AND @ServerTimeZone IS NOT NULL 
Begin
Select @TimeDiff = @UserTimeZone - @ServerTimeZone
end
if @SortField <> ''  begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId,
			PrivateMessages.ReceiverId, PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ', PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername 
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.senderid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is not null ORDER BY ' + @SortField + ' ' + @SortDirection
end
else begin
	set @strSQL = 'SELECT PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.ReceiverId, PrivateMessages.Subject,
			PrivateMessages.Message, PrivateMessages.MessageRead, 
			PrivateMessages.OriginalMessageId, DateAdd(minute, '  + cast(@TimeDiff as varchar(5)) + ', PrivateMessages.DateCreated) as DateCreated,
			Sender.Username AS SenderUsername, Receiver.Username AS ReceiverUsername
			FROM PrivateMessages INNER JOIN Users Sender ON PrivateMessages.SenderId = Sender.UserID INNER JOIN Users Receiver ON PrivateMessages.ReceiverId = Receiver.UserID 
			WHERE PrivateMessages.senderid = ' + cast(@UserId as varchar(10)) + ' and PrivateMessages.OriginalMessageId is not null ORDER BY PrivateMessages.MessageRead ASC, PrivateMessages.DateCreated DESC'
end
exec(@strSQL)

GO
----------------------------------------------------
-- dbo.UsersOnline_GetSession
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetSession
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetSession
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetSession
as
select count(*)
from sessiontracker

GO
----------------------------------------------------
-- dbo.UsersOnline_GetSinglePrivateMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetSinglePrivateMessage
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetSinglePrivateMessage
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetSinglePrivateMessage
	@MessageId int
as
SELECT     PrivateMessages.MessageId, PrivateMessages.SenderId, PrivateMessages.Subject, PrivateMessages.Message, PrivateMessages.MessageRead, 
                      PrivateMessages.OriginalMessageId, PrivateMessages.DateCreated, Users.Username
FROM         PrivateMessages INNER JOIN
                      Users ON PrivateMessages.SenderId = Users.UserID
WHERE
	PrivateMessages.MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.UsersOnline_GetSingleUser
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetSingleUser
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetSingleUser
----------------------------------------------------

ALTER PROCEDURE [dbo].UsersOnline_GetSingleUser

	@PortalID	int,
	@UserID 	int,
	@LoggedInUserID int

AS

SELECT 
	Users.UserID,
	Users.FirstName,
	Users.LastName,
	Users.Country, 
	Users.Email,
	Users.Username,
	SessionTracker.SessionID,
	UserPortals.CreatedDate,
	UserPortals.LastLoginDate,
	UsersOnline_Buddies.ItemID 
FROM 
	Users
        left outer join SessionTracker on users.userid = SessionTracker.UserID
        left outer join UserPortals on users.userid = UserPortals.UserID
        left outer join UsersOnline_Buddies on UsersOnline_Buddies.UserID = @LoggedInUserID and UsersOnline_Buddies.BuddyID = @UserID
WHERE
	Users.UserID = @UserID
	and
	UserPortals.PortalID = @PortalID
	and
    UsersOnline_Buddies.UserID = @LoggedInUserID

GO
----------------------------------------------------
-- dbo.UsersOnline_GetUserCounts
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUserCounts
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUserCounts
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetUserCounts
	@PortalId       int,
	@GuestCount	int OUTPUT,
	@MemberCount	int OUTPUT,
	@UserCount	int OUTPUT,
	@NewToday	int OUTPUT,
	@NewYesterday	int OUTPUT,
	@LatestUsername	nvarchar(255) OUTPUT, 
	@LatestUserID		int OUTPUT
as
select count(*) 
from SessionTracker
where PortalId = @PortalId and UserId is null
select 
	count(*)
from
	SessionTracker s1, Users
where
	s1.PortalID = @PortalID
	and
	s1.UserID = Users.UserID
	and
	s1.CreationDate = (select max(CreationDate) from SessionTracker s2 where s1.UserID = s2.UserID)
select count(*) 
from UserPortals
where PortalId = @PortalId
select count(*) 
from UserPortals
where PortalId = @PortalId and CreatedDate > DateAdd(d, -1, GetDate())
select count(*)
from UserPortals
where PortalId = @PortalId and CreatedDate > DateAdd(d, -2, GetDate()) and CreatedDate < DateAdd(d, -1, GetDate())
SELECT     
	Users_1.UserName, Users_1.UserID 
FROM         
	UserPortals UserPortals_1 INNER JOIN
        	Users Users_1 ON UserPortals_1.UserID = Users_1.UserID
WHERE     
	UserPortals_1.PortalID = @PortalID
	and (UserPortals_1.createddate =
                          (SELECT     MAX(createddate)
                            FROM          userportals))

GO
----------------------------------------------------
-- dbo.UsersOnline_GetUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsers
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsers
----------------------------------------------------


ALTER PROCEDURE [dbo].UsersOnline_GetUsers

	@PortalID int,
	@LoggedInUserID int,
	@PageNumber int,
	@PageSize int,
	@SortOrder varchar(255),
	@SortDirection varchar(50)

AS
    CREATE TABLE #TempUsersOnline_Users
    (
        ID int IDENTITY PRIMARY KEY,
        SessionID 	nvarchar(255),
	UserName	nvarchar(100),
        UserID 		int,
	FirstName	nvarchar(50),
	LastName	nvarchar(50),
	CreatedDate	datetime,
	BuddyID		int
    )


    exec
    ('INSERT INTO #TempUsersOnline_Users
    (
        SessionID,
	Username,
        UserID,
	FirstName,
	LastName,
	CreatedDate,
	BuddyID
    )
	select SessionTracker.SessionID, Users.UserName, Users.UserID, Users.FirstName, Users.LastName, UserPortals.CreatedDate, (select BuddyID from UsersOnline_Buddies where UserID = ' + @LoggedInUserID + ' and BuddyID = Users.UserID) as "BuddyID"
	from Users
             left Outer Join UserPortals on Users.UserID = UserPortals.UserID
             left Outer Join SessionTracker on Users.UserID = SessionTracker.UserID
	where 
		
		UserPortals.PortalID = ' + @PortalID + 
	'Order BY ' + @SortOrder + ' ' + @SortDirection)

    -- declare two variables to calculate the 
    -- range of records to extract for the specified page
    DECLARE @FromID int
    DECLARE @ToID int

    -- calculate the first and last ID of the range of topics we need
    SET @FromID = ((@PageNumber - 1) * @PageSize) + 1
    SET @ToID = @PageNumber * @PageSize

    SELECT
	COUNT(*)
    FROM #TempUsersOnline_Users 

    -- select the page of records
    SELECT         
	ID,
        SessionID,
	Username,
        UserID,
	FirstName,
	LastName,
	CreatedDate,
	BuddyID	 
    FROM #TempUsersOnline_Users 
    WHERE ID >= @FromID AND ID <= @ToID

GO
----------------------------------------------------
-- dbo.UsersOnline_GetUsersBuddiesOnly
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsersBuddiesOnly
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsersBuddiesOnly
----------------------------------------------------
ALTER PROCEDURE [dbo].UsersOnline_GetUsersBuddiesOnly

	@PortalID int,
	@LoggedInUserID int,
	@PageNumber int,
	@PageSize int

AS

    CREATE TABLE #TempUsersOnline_Users
    (
        ID int IDENTITY PRIMARY KEY,
        SessionID 	nvarchar(255),
	UserName	nvarchar(100),
        UserID 		int,
	FirstName	nvarchar(50),
	LastName	nvarchar(50),
	CreatedDate	datetime,
	BuddyID		int
    )

    INSERT INTO #TempUsersOnline_Users 
    (
        SessionID,
	Username,
        UserID,
	FirstName,
	LastName,
	CreatedDate,
	BuddyID
    )

	select SessionTracker.SessionID, Users.UserName, Users.UserID, Users.FirstName, Users.LastName, UserPortals.CreatedDate, (select BuddyID from UsersOnline_Buddies where UserID = @LoggedInUserID  and BuddyID = Users.UserID) as "BuddyID"
	from UsersOnline_Buddies
             left Outer Join Users on UsersOnline_Buddies.BuddyID = Users.UserID
             left Outer Join SessionTracker on UsersOnline_Buddies.BuddyID = SessionTracker.UserID
	     Left Outer Join UserPortals on UsersOnline_Buddies.BuddyID = USerPortals.UserID
	where 
	     UserPortals.PortalID = @PortalID and
	     UsersOnline_Buddies.UserID = @LoggedInUserID
	Order BY UserName ASC

    -- declare two variables to calculate the 
    -- range of records to extract for the specified page
    DECLARE @FromID int
    DECLARE @ToID int

    -- calculate the first and last ID of the range of topics we need
    SET @FromID = ((@PageNumber - 1) * @PageSize) + 1
    SET @ToID = @PageNumber * @PageSize

    SELECT
	COUNT(*)
    FROM #TempUsersOnline_Users 

    -- select the page of records
    SELECT         
	ID,
        SessionID,
	Username,
        UserID,
	FirstName,
	LastName,
	CreatedDate,
	BuddyID	 
    FROM #TempUsersOnline_Users 
    WHERE ID >= @FromID AND ID <= @ToID
GO
----------------------------------------------------
-- dbo.UsersOnline_GetUsersByUsername
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsersByUsername
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsersByUsername
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_GetUsersByUsername
@PortalId int,
@Filter   nvarchar(255)
as
    select Users.UserID,
           users.Username,
           Users.Email,
           'FullName' = Users.FirstName + ' ' + Users.LastName,
           Users.FirstName,
           Users.LastName,
           Users.Unit,
           Users.Street,
           Users.City,
           Users.Region,
           Users.PostalCode,
           Users.Country,
           Users.Telephone,
           'Authorized' = case when UserPortals.Authorized = 1 then 'Y' else 'N' end,
           UserPortals.CreatedDate,
           UserPortals.LastLoginDate
    from   Users
    inner join UserPortals on Users.UserId = UserPortals.UserId
    where  UserPortals.PortalId = @PortalId
    and    Users.Username like @Filter
    order  by Users.Username

GO
----------------------------------------------------
-- dbo.UsersOnline_GetUsersOnlineOnly
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsersOnlineOnly
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_GetUsersOnlineOnly
----------------------------------------------------

ALTER PROCEDURE [dbo].UsersOnline_GetUsersOnlineOnly
	@PortalID int,
	@LoggedInUserID int,
	@PageNumber int,
	@PageSize int
AS
    CREATE TABLE #TempUsersOnline_Users
    (
        ID int IDENTITY PRIMARY KEY,
        SessionID 	nvarchar(255),
	UserName	nvarchar(100),
        UserID 		int,
	FirstName	nvarchar(50),
	LastName	nvarchar(50),
	CreatedDate	datetime,
	BuddyID		int
    )
    INSERT INTO #TempUsersOnline_Users 
    (
        SessionID,
	Username,
        UserID,
	FirstName,
	LastName,
	CreatedDate,
	BuddyID
    )
	select s1.SessionID, Users.UserName, Users.UserID, Users.FirstName, Users.LastName, UserPortals.CreatedDate, (select BuddyID from UsersOnline_Buddies where UserID = @LoggedInUserID and BuddyID = Users.UserID) as 'BuddyID'
	from SessionTracker s1, Users, UserPortals
	where 
		Users.UserID = UserPortals.UserID and
		UserPortals.PortalID =@PortalID and
		Users.UserID = s1.UserID and
		s1.CreationDate = (select max(CreationDate) from SessionTracker s2 where s1.UserID = s2.UserID)
	Order BY UserName ASC
    -- declare two variables to calculate the 
    -- range of records to extract for the specified page
    DECLARE @FromID int
    DECLARE @ToID int
    -- calculate the first and last ID of the range of topics we need
    SET @FromID = ((@PageNumber - 1) * @PageSize) + 1
    SET @ToID = @PageNumber * @PageSize
    SELECT
	COUNT(*)
    FROM #TempUsersOnline_Users 
    -- select the page of records
    SELECT         
	ID,
        SessionID,
	Username,
        UserID,
	FirstName,
	LastName,
	CreatedDate,
	BuddyID	 
    FROM #TempUsersOnline_Users 
    WHERE ID >= @FromID AND ID <= @ToID

GO
----------------------------------------------------
-- dbo.UsersOnline_UpdateMessageRead
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_UpdateMessageRead
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_UpdateMessageRead
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_UpdateMessageRead
@MessageId       int
as
UPDATE
	PrivateMessages
SET
	MessageRead = '1'
WHERE 
	MessageId = @MessageId

GO
----------------------------------------------------
-- dbo.UsersOnline_UpdateMessageUnread
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_UpdateMessageUnread
----------------------------------------------------
----------------------------------------------------
-- dbo.UsersOnline_UpdateMessageUnread
----------------------------------------------------

ALTER procedure [dbo].UsersOnline_UpdateMessageUnread
@MessageId       int
as
UPDATE
	PrivateMessages
SET
	MessageRead = '0'
WHERE 
	MessageId = @MessageId

GO

/******************************************************
  Stored procedures  End
******************************************************/

/******************************************************
  Indexes  Begin
******************************************************/

CREATE NONCLUSTERED INDEX [IX_CodeCountry] ON [dbo].[CodeCountry](Code )
GO
CREATE NONCLUSTERED INDEX [IX_CodeCurrency] ON [dbo].[CodeCurrency](Code )
GO
CREATE NONCLUSTERED INDEX [IX_CodeFrequency] ON [dbo].[CodeFrequency](Code )
GO
CREATE NONCLUSTERED INDEX [IX_CodeFrequencyLanguage] ON [dbo].[CodeFrequency](Language )
GO
CREATE NONCLUSTERED INDEX [IX_CodeLanguage] ON [dbo].[CodeCountry](Language )
GO
CREATE NONCLUSTERED INDEX [IX_CodeLanguageCurrency] ON [dbo].[CodeCurrency](Language )
GO
CREATE NONCLUSTERED INDEX [IX_CodeSiteLogReportLanguage] ON [dbo].[CodeSiteLogReport](Language )
GO
CREATE NONCLUSTERED INDEX [IX_languageSettings] ON [dbo].[languageSettings](language )
GO
CREATE NONCLUSTERED INDEX [IX_languageSettings_1] ON [dbo].[languageSettings](SettingName )
GO
CREATE NONCLUSTERED INDEX [IX_languageSettings_2] ON [dbo].[languageSettings](Context )
GO
CREATE NONCLUSTERED INDEX [LongLanguageIndex] ON [dbo].[longlanguageSettings](SettingName,language )
GO

/******************************************************
  Indexes  End
******************************************************/
